Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 wandering the Monastery: (None)
    As of 2024-04-25 01:41 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found