August 1999 | Perl Hardware Store | Slide #14 |
You can export anything, not just functions
Useful example: DBI puts error messages in $DBI::errstr
Maybe you wish it had a shorter name
*DBerr = \$DBI::errstr;
Now you can use $DBerr instead
*Warning:* Typo in the notes! ($ instead of *)
Next | Copyright © 1998 M-J. Dominus |