Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Object oriented mess

by Joost (Canon)
on Apr 13, 2005 at 14:44 UTC ( [id://447429]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Object oriented mess
in thread Object oriented mess

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://447429]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-26 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found