On Thu, Oct 10, 2002 at 07:19:03PM +0200, Jenda Krynicky wrote:
> It's a shame that even in Perl 5.8 one can't do this:
>       open (IN, '-|', 'cmd','/c','dir');

Well, the feature is there in 5.8.0, it's just not portable.  Of course, you
mention the other way to implement that is with a pipe(), fork(), and exec()
so it's just as portable as that alternative.  At least the feature is
documented to be there; I don't have an installation of 5.8.0 to test with.

The equivalent can also be accomplished with IPC::Open2::open2.


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to