On Thu, Nov 30, 2006 at 09:13:42 -0800, Larry Wall wrote: > my $x = 42; > &f := sub { > have $.x; > say $x; > ... > } > say &f.x;
hmm... That looks nice. Maybe even this makes sense: sub { have $.x; method blah { } } Conversely, I'd also like to be able to do Closure, which is a subrole of Code with a constructor. Or rather, an instantiated Code is a proto of Closure ;-) -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418
pgp7EJqlaCYtM.pgp
Description: PGP signature