Re: Converting a Perl 5 pseudo-continuation to Perl 6

2009-01-26 Thread Aristotle Pagaltzis
* Aristotle Pagaltzis pagalt...@gmx.de [2009-01-02 23:00]: That way, you get this combination: sub pid_file_handler ( $filename ) { # ... top half ... yield; # ... bottom half ... } sub init_server { # ... my $write_pid =

Re: Converting a Perl 5 pseudo-continuation to Perl 6

2009-01-26 Thread Larry Wall
On Tue, Jan 27, 2009 at 12:27:56AM +0100, Aristotle Pagaltzis wrote: : * Aristotle Pagaltzis pagalt...@gmx.de [2009-01-02 23:00]: : That way, you get this combination: : : sub pid_file_handler ( $filename ) { : # ... top half ... : yield; : # ... bottom half ... :