in reply to running command from within perl script

qx/STRING/, system, exec

Proc::Background, IPC::Run, IPC::Run3

PS: It's okay to ask just once. We'll listen.

  • Comment on Re: running command from within perl script

Replies are listed 'Best First'.
Re^2: running command from within perl script
by raybies (Chaplain) on Oct 12, 2010 at 18:36 UTC
    Fwiw, along with those commands,I find the $? variable to be useful for checking return codes from a system or backtick system call. --Ray