Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Perl Command Line Arguments

by Hena (Friar)
on Jun 03, 2010 at 13:07 UTC ( [id://842910]=note: print w/replies, xml ) Need Help??


in reply to Perl Command Line Arguments

You have to quote them in execution as dineed mentioned above. The shell you are using is separating the characters (strings) instead of perl interpreter.

So you need: script.pl "A B C"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-25 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found