Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Use modules with an import list on the command line

by VSarkiss (Monsignor)
on Jan 12, 2002 at 21:27 UTC ( #138294=note: print w/ replies, xml ) Need Help??


in reply to Use modules with an import list on the command line

Just a small additional caveat: if you have shell metacharacters that may be expanded, be careful to quote them. Your CGI example may be better as: perl '-MCGI=:standard,*table' -e 'print start_table({-border=>2})'

I admit it's unlikely you'll have a file in your current directory named "-MCGI=" something, but other patterns could be a problem.


Comment on Re: Use modules with an import list on the command line
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://138294]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (16)
As of 2015-07-29 16:39 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 (265 votes), past polls