Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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
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 drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-08-20 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (105 votes), past polls