Next | The Perl Hardware Store | DC.pm Version | 15 |
Module VeryLongName contains function SomeFunction.
Instead of calling VeryLongName::SomeFunction many times:
{ local *F = \&VeryLongName::SomeFunction;
F(...); }
A more specific example:
*ERR = \$DBI::errstr;
You can export anything, not just functions
Example coming up: Create a magical variable
Next | Copyright © 2003 M. J. Dominus |