Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: running perlscript from shell script

by choroba (Chancellor)
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.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1032253]
help
Chatterbox?
[ravi45722]: can i get current date using Joda time format
[ravi45722]: Ex: EEE MMM dd HH:mm:ss.SSS yyyy
[ravi45722]: Fri Mar 24 11:54:55.234 2017

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2017-03-24 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (296 votes). Check out past polls.