Bharath has asked for the wisdom of the Perl Monks concerning the following question:

How can I execute a perl script from a shell script? Both the files(shell script and perl script) are in same directory
  • Comment on how to execute perl from a shell script

Replies are listed 'Best First'.
Re: how to execute perl from a shell script
by eyepopslikeamosquito (Archbishop) on Jul 18, 2005 at 09:10 UTC
Re: how to execute perl from a shell script
by jbrugger (Parson) on Jul 18, 2005 at 07:26 UTC
    jobline=`./perlscript.pl` job=${jobline%% *} echo $job

    "We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.
Re: how to execute perl from a shell script
by tphyahoo (Vicar) on Jul 18, 2005 at 08:57 UTC
    For more info see perlfaq8 (system interaction).