Re: When do named subs bind to their variables? (Re: Questionable scope of state variables ([perl #113930] Lexical subs))

2012-07-07 Thread Damian Conway
Father Chrysostomos asked: > What I am really trying to find out is when the subroutine is actually > cloned, Yes. It is supposed to be (or at least must *appear* to be), and currently is (or appears to be) in Rakudo. > and whether there can be multiple clones within a single call of > the encl

Re: When do named subs bind to their variables? (Re: Questionable scope of state variables ([perl #113930] Lexical subs))

2012-07-07 Thread Tom Christiansen
"Father Chrysostomos via RT" wrote on Sat, 07 Jul 2012 18:54:15 PDT: >Thank you. So the bar sub seems to be closing over the name @a (the >container/variable slot/pad entry/whatever), rather than the actual >array itself. >Since I don't have it installed, could you tell me what this does?

Re: When do named subs bind to their variables? (Re: Questionable scope of state variables ([perl #113930] Lexical subs))

2012-07-07 Thread Tom Christiansen
"Father Chrysostomos via RT" wrote on Sat, 07 Jul 2012 17:44:46 PDT: > I’m forwarding this to the Perl 6 language list, so see if I can find > an answer there. I do have an answer from Damian, which I will enclose below, and a Rakudo result for you. > [This conversation is about how lexica

[perl6/specs] aca4df: Remove questions.txt in favor of Github's issue tr...

2012-07-07 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: aca4dff4da8f83c8ca329f83c8914e03d979472d https://github.com/perl6/specs/commit/aca4dff4da8f83c8ca329f83c8914e03d979472d Author: pmichaud Date: 2012-07-07 (Sat, 07 Jul 2012) Changed paths: R questions