Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: running perlscript from shell script

by choroba (Abbot)
on May 06, 2013 at 11:18 UTC ( #1032253=note: print w/ replies, xml ) Need Help??


in reply to running perlscript from shell script

This is not a Perl question, it is a shell question. The answer depends on what kind of shell you run; but usually, the following should work:

1.pl "$@" 2.pl "$@" 3.pl "$@"

"$@" stands for "all the arguments".

If only particular arguments are needed, you can use the positional arguments:

4.pl "$2" # Only the second argument.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: running perlscript from shell script
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-12-20 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls