Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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.


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?
[choroba]: the maintainer of the upstream repo than "merges" the pull request, i.e. they pull from your fork into the upstream
[Discipulus]: ' i.e. you asked them to pull from your repo' =~ I (subj) want to push
[Discipulus]: chorobayour words are reasonable
[choroba]: I'm just repeating some else's words as I remembered them after having asked the same question
[choroba]: s/some/someone/
Discipulus what a pity all people do not speak only in eatalian..
[choroba]: we'd need video calls more often :)
[Discipulus]: i still suspect english has some logical 'curvature/ crookedness' that has and will have a big impact over programming
[Discipulus]: if you refere to gestures ++choroba

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2017-05-27 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?