I need to do some commands in another machine, I will try something like
'rlogin machine'.
I'm not allowed to install new packages in the machine :'(
To simplifey I tried to run a simple command in perl to simulate a
'more' command.
use IPC::Open2;
use IO::Handle '_IOLBF';
My $pid = open2(my $
On Fri, 25 Feb 2005, Marcos Rebelo wrote:
> My $pid = open2(my $RDRFH, my $WTRFH, "perl", "-e", "while (<>)
> {print}");
Using 'use warnings' should have told you that 'My' is broken here.
What messages do you get when you try to run the program?
--
Chris Devers
--
To unsubscribe, e-mail
the problem is not the My.
The program prints:
print 0
print 1
print 2
print 3
and stops
this is the problem
I was hopping to get
print 0
print 1
print 2
print 3
1
2
3
thanks
Marcos
On Fri, 25 Feb 2005 08:26:03 -0500 (EST), Chris Devers
<[EMAIL PROTECTED]> wrote:
> On Fri, 25 Feb 2005, Mar