August 1999 | Perl Hardware Store | Slide #10 |
Importing it into package Foo is a one-liner:
package Foo;
*LOG = \&main::LOG; # Import
LOG("Look over there! A dancing cow!"); # (Calls main::LOG)
Simple! Convenient!
Next | Copyright © 1998 M-J. Dominus |