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

Re^3: loading modules using 'use'

by Taulmarill (Deacon)
on Jul 01, 2010 at 12:04 UTC ( #847500=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use CGI qw/:standard/;
    print header;
    
  2. or download this
    BEGIN {
        require CGI;
        CGI->import( ':standard' );
    }
    print header;
    
  3. or download this
    require CGI;
    CGI->import( ':standard' );
    print header;
    
  4. or download this
    Unquoted string "header" may clash with future reserved word at test.p
    +l line 12.
    Name "main::header" used only once: possible typo at test.pl line 12.
    print() on unopened filehandle header at test.pl line 12.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2023-06-02 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?