Chas Owens wrote:
On 9/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello guys, I'm a new leaner for perl. I wanted to ask you guys Which
module use to launch program using perl in linux? plz help me
asap.Thanks...    ; )
snip

Depends on what you mean by launch.  I believe you probably want
either the system function or the qx// operator (aka backticks).  If
you want the Perl program to keep running while the "launched" program
runs (instead of waiting for it to finish) you should fork and use
exec to "launch" it (this is effectively what system does, but system
waits for the "launched" program to finish with wait before
returning).

perldoc -f system
perldoc perlop
perldoc -f fork
perldoc -f exec
perldoc -f wait

And also:

perldoc perlipc
perldoc -f qx
perldoc -f open
perldoc -f close
perldoc perlopentut



John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order.                            -- Larry Wall

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to