[Israel.pm] Coroutines in Perl

Madani, Srikanth, VF-DE Srikanth.Madani at vodafone.com
Thu Mar 9 09:00:55 PST 2006

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.

> BTW, why are you calling this thing "coroutines"? Aren't coroutines 
> continuations?

Apparently coroutine is the ksh terminology for a similar mechanism.

Have a great weekend everyone!

Best regards,

More information about the Perl mailing list