Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 lurking in the Monastery: (9)
As of 2014-12-23 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls