in reply to Pipe processes and Perl subroutines together

Have you looked at IPC::Run?

We're not surrounded, we're in a target-rich environment!
  • Comment on Re: Wrapper function to execute process

Replies are listed 'Best First'.
Re^2: Wrapper function to execute process
by repellent (Priest) on Mar 03, 2008 at 00:11 UTC
    Thanks for the reference. Yes, I have read through its documentation before. It is very powerful. No, I have not played with it.

    In my opinion, however, there's something about its syntax and setup that leaves me wanting. I get confused wrapping my mind around (\$in, \$out) and the various ways of specifying handle references for the commands.

    It's probably due to my inexperience. Let me look into IPC::Run some more.
Re^2: Wrapper function to execute process
by PetaMem (Priest) on Apr 08, 2008 at 08:12 UTC
    And while we're at it, have a look at IPC::Cmd. It seems more actively maintained and equipped with a more intuitive (for some) API.

        All Perl:   MT, NLP, NLU