[Israel.pm] Coroutines in Perl

Yuval Kogman nothingmuch at woobling.org
Thu Mar 9 10:50:34 PST 2006


On Thu, Mar 09, 2006 at 18:00:55 +0100, Madani, Srikanth, VF-DE wrote:
>  
> Thanks Shlomi for the response.
> 
> Shlomi Fish wrote on Donnerstag, 9. März 2006 17:30 :
> > <<<
> > open my $rcs, "|rcs -u12.1.1 hello.c";
> > print {$rcs} "y\n.\n";
> > close($rcs);
> > >>> 
> 
> > If this doesn't work for you, you should try Expect.pm. See "perldoc perlopen" 
> > for more information.
> 
> That didn't work, unfortunately. It should have though (at least from what the perlopentut man page says). Will try Expect.pm.

Also tri IPC::Run if Expect gets to you... I had to do lots of work
with Expecct, but then I switched to IPC::Run and found great
relief.

-- 
 ()  Yuval Kogman <nothingmuch at woobling.org> 0xEBD27418  perl hacker &
 /\  kung foo master: /me does not drink tibetian laxative tea: neeyah!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://perl.org.il/pipermail/perl/attachments/20060309/b4eea4ec/attachment.pgp 


More information about the Perl mailing list