Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (14)
As of 2014-07-23 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (149 votes), past polls