Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Using arbitrary packages

by fergal (Chaplain)
on Jul 12, 2004 at 22:43 UTC ( [id://373763]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Using arbitrary packages
in thread Using arbitrary packages

Perhaps you should use
do $filename;
and have actual real Perl in the file that looks like
use Module1; use Module2; function1(); function2();
it will run faster. No point in inventing your own mini perl parser. Especially if in the future you decide you need to start adding arguments to your functions etc.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2025-06-20 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.