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

Michael Friedman friedman at highwire.stanford.edu
Fri Dec 19 10:56:59 PST 2008

If you want perl to execute it and then keep running try the system()  
call. If you want perl to terminate and transfer control to the batch  
program you use exec() instead.

If you want to communicate with your batch program from perl then you  
need to look into more complicated options...

Both are documented in perlfunc.

-- Mike

On Dec 19, 2008, at 10:42 AM, Kevin Patterson 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

Michael Friedman                     HighWire Press
Phone: 650-725-1974                  Stanford University
FAX:   270-721-8034                  <friedman at highwire.stanford.edu>

More information about the SanFrancisco-pm mailing list