No such thing as a small change | |
PerlMonks |
Re^2: Pragma-like packageby dave0 (Friar) |
on Aug 21, 2007 at 11:18 UTC ( [id://634055]=note: print w/replies, xml ) | Need Help?? |
import() has been mentioned, but if what you want to do is to selectively pull in only some methods and variables from the package into your namespace, you might want to look at the Exporter module, which provides an import for you which does just that.You might also want to take a look at Sub::Exporter instead. It's a newer, better way of manipulating the symbols exported by a module.
In Section
Seekers of Perl Wisdom
|
|