keralaqueen234 has asked for the wisdom of the Perl Monks concerning the following question:
i have a requirement wherein i have 3 perlscripts say 1.pl,2.pl and 3.pl. i need to execute these three pearl scripts from inside a shell script, by passing arguments. example would be like , i have a shellscript named shellscript.sh .inside this shell script i have called the 3 perlscripts . So on executing the shellscript (by passing arguments shellscript.sh arg1 arg2, it should execute the 3 perl scrits called inside. these 3 perlscripts also need the passed arguments . in short if i call shellscripts.sh arg1 arg 2, this inturn calls 1.pl arg1 arg2, 2.pl arg1 arg2, 3.pl arg1 arg2 . how to do ths? </p
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: running perlscript from shell script
by choroba (Cardinal) on May 06, 2013 at 11:18 UTC | |
|
Re: running perlscript from shell script
by zwon (Abbot) on May 06, 2013 at 11:21 UTC | |
|
Re: running perlscript from shell script
by Anonymous Monk on May 07, 2013 at 01:21 UTC |