in reply to importing/removing functions from a module into the main namespace
If the arguments to use after the module name are function names, they will be imported. use MyBot qw/afunc another thethird/; The Exporter module can be used as a base class in MyBot.pm to get tagged exports and other goodies.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: importing/removing functions from a module into the main namespace
by agaffney (Beadle) on Mar 14, 2005 at 08:09 UTC | |
by Joost (Canon) on Mar 14, 2005 at 09:33 UTC | |
by agaffney (Beadle) on Mar 14, 2005 at 10:38 UTC |