Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: use and require inside subs

by kiat (Vicar)
on Nov 02, 2004 at 23:41 UTC ( [id://404784]=note: print w/replies, xml ) Need Help??


in reply to use and require inside subs

You can also use autouse
# Main script use autouse Somemodule => qw(func1 func2); main_script_func { func1(); }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (1)
As of 2024-04-25 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found