Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: use and require inside subs

by tachyon (Chancellor)
on Nov 02, 2004 at 23:37 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://404783]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-03-28 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found