Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: use and require inside subs

by kiat (Vicar)
on Nov 02, 2004 at 23:41 UTC ( #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
Node Status?
node history
Node Type: note [id://404784]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2020-08-09 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (54 votes). Check out past polls.

    Notices?