Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 taking refuge in the Monastery: (6)
As of 2014-09-16 02:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (155 votes), past polls