Tom Christiansen writes:
: >2) The ability to dump out a variable and all its attached state into 
: >something that can be loaded in later somewhere else.
: 
: To hope to do this completely and correctly is courageous.
: 
:     my @funx = ();
:     for my $name (qw/violet purple cream/) {
:       push @funx, sub {
:           print "I'll take a $name one, please, with @_.\n";
:       };
:     } 
: 
:     dump \@funx;
: 
: Closures will be challenging. :-)

Well, scratch it hard enough and you'll see that we're just discussing
persistent continuations.

Larry

Reply via email to