Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Use modules with an import list on the command line

by Ovid (Cardinal)
on Jan 12, 2002 at 03:14 UTC ( #138176=perltutorial: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        use LWP::Simple;
        getprint( "http://www.perlmonks.org/" );
    ...
        # command line:
    
        perl -MLWP::Simple -e 'getprint( "http://www.perlmonks.org/" )'
    
  2. or download this
        use CGI qw/:standard *table/;
        print start_table( { border => 2 } );
    ...
        # command line
    
        perl -MCGI=:standard,*table -e 'print start_table({-border=>2})'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perltutorial [id://138176]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2016-12-03 02:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (52 votes). Check out past polls.