Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 meditating upon the Monastery: (9)
As of 2015-07-30 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls