Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 pondering the Monastery: (2)
As of 2024-04-19 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found