[Wellington-pm] pass-through pipe?

Richard Hector richard at walnut.gen.nz
Wed Jul 21 05:03:33 PDT 2010


Thanks all.

On Mon, 2010-07-19 at 10:13 +1200, Grant McLean wrote:

> I guess strictly speaking, the shell is not necessary and yes you could
> implement it using Perl's builtin pipe, fork, exec and wait.  But
> frankly why bother?

I guess that I assumed that this being Perl, someone would have created
a nice solution for this, so I wouldn't have to use all the low level
stuff :-)

And I usually look for what feels like a 'proper' solution - admittedly
often beyond the practical and expedient requirments of the project :-)

I've also met similar situations before, and expect to see them again,
so was hoping for something to add to my mental toolkit. I should
certainly look into IPC::Run - though I'm not putting any more effort
into that particular script at the moment; it works :-)

Thanks,

Richard




More information about the Wellington-pm mailing list