Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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?
[SuicideJunkie]: So, possibly interesting thing; I had that script which was using more than all the ram to open an absurdly large spreadsheet. I set it up to spin overnight nightly, so it stopped releasing memory since it was never fully exited.
[SuicideJunkie]: Didn't expect that to be a problem. There's plenty of disk space for swap, and the memory space would be reused the next day. But apparently virtualbox dies with a guru meditation when there's no physical memory unused on start.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-04-26 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (491 votes). Check out past polls.