Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: package function calling

by wfsp (Abbot)
on Jul 13, 2005 at 11:33 UTC ( [id://474500]=note: print w/replies, xml ) Need Help??


in reply to package function calling

As an aside, for my own benifit I always use EXPORT_OK in the module.

The script then needs to be:

use MyPackage::MySubPackage qw(some_function);
I find this helps show more clearly what has come from where.

John

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-26 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found