Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Processing ARGV

by sh1tn (Priest)
on Dec 05, 2007 at 18:29 UTC ( [id://655163]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Processing ARGV
in thread Processing ARGV

You may want to try
perl -e 'print $_, $/ for @ARGV' 1 2 3 4 5 #which prints #1 #2 #3 #4 #5
in order to assure yourself that perl has been installed correctly.
And of course - see what `which perl` returns in case that the script works fine.


Replies are listed 'Best First'.
Re^4: Processing ARGV
by kmullin (Acolyte) on Dec 05, 2007 at 19:08 UTC

    I'm told that with a bad shebang, it uses /bin/sh, which is the ksh around here, so that explains that.

    I now have my code working. Thanks for your help.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-25 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found