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

Re: use and require inside subs

by tachyon (Chancellor)
on Nov 02, 2004 at 23:37 UTC ( #404783=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    do 'd:/perl/lib/Data/Dumper.pm';
    Data::Dumper->import();
    print Dumper(\@INC,\%INC);
    
  2. or download this
    sub widget {
        # blah
        require Some::Module;
        my $result = Some::Module::somefunction(@args);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2020-08-12 23:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (68 votes). Check out past polls.

    Notices?