|
|
| P is for Practical | |
| PerlMonks |
Re^3: Object oriented messby Joost (Canon) |
| on Apr 13, 2005 at 10:44 UTC ( [id://447429]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||