Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Processing ARGV

by sh1tn (Priest)
on Dec 05, 2007 at 18:29 UTC ( #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.



Comment on Re^3: Processing ARGV
Download Code
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
Node Status?
node history
Node Type: note [id://655163]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2015-07-07 23:43 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 (93 votes), past polls