Just another Perl shrine | |
PerlMonks |
Re^3: Object oriented messby Joost (Canon) |
on Apr 13, 2005 at 14:44 UTC ( [id://447429]=note: print w/replies, xml ) | Need Help?? |
I see now; since you're requiring abc.pl in package Client first (remember that use is run at compile time), its functions will be in package Client update: unless you put an explicit package statment in abc.pl. If you later require() abc.pl again in the main package that's a noop, since require caches.
You really want to take a look at Exporter.
In Section
Seekers of Perl Wisdom
|
|