end your output immediately.
>>
>>
>>
>>
>> -Original Message-
>> From: Bryan R Harris [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, August 24, 2005 1:51 PM
>> To: Beginners Perl
>> Subject: Re: two way piped open
&g
then setting $| to 1. That way Perl
> should send your output immediately.
>
>
>
>
> -Original Message-
> From: Bryan R Harris [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 24, 2005 1:51 PM
> To: Beginners Perl
> Subject: Re: two way piped open
>
>
24, 2005 1:51 PM
To: Beginners Perl
Subject: Re: two way piped open
And a follow-on question:
Any idea why I have to send the yprtool two "\n"s instead of one to make
it
work? With just one it hangs... On the command line, it definitely
works
with just one.
--
To unsubscri
And a follow-on question:
Any idea why I have to send the yprtool two "\n"s instead of one to make it
work? With just one it hangs... On the command line, it definitely works
with just one.
**
($y,$p,$r) = (split(' ', $lines[15]))[11..13];
use IPC::Open2;
That does it, thanks, Wiggins!
- B
> Bryan R Harris wrote:
>>
>> I'd like to open 2-way pipe to a tool that we have here. It's called
>> yprtool and once it's open, you give it 3 numbers to its STDIN and it spits
>> out 3 numbers to its STDOUT. It stays open until you ctrl-c it.
>>
>> Wha
Bryan R Harris wrote:
>
> I'd like to open 2-way pipe to a tool that we have here. It's called
> yprtool and once it's open, you give it 3 numbers to its STDIN and it spits
> out 3 numbers to its STDOUT. It stays open until you ctrl-c it.
>
> What's the correct syntax for opening something like
I'd like to open 2-way pipe to a tool that we have here. It's called
yprtool and once it's open, you give it 3 numbers to its STDIN and it spits
out 3 numbers to its STDOUT. It stays open until you ctrl-c it.
What's the correct syntax for opening something like this?
This doesn't work:
*