[sf-perl] executing a batch command in a Perl program

Jeff Bragg jackofnotrades at gmail.com
Fri Dec 19 11:04:21 PST 2008


You can also use backticks if you want to save/use the output, as in:

my @batch_cmd_output  =  `./myshellscript -opt1 -opt2`;

On Fri, Dec 19, 2008 at 10:42 AM, Kevin Patterson <kpatters at berkeley.edu>wrote:

> Hello...
>
>
> Is there a way to execute a batch program via Perl?
>
> Thanks..
>
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20081219/61eadca0/attachment.html>


More information about the SanFrancisco-pm mailing list