John M. Dlugosz wrote:
Perl 6 doesn't have references anymore, it has captures. So, what
does the following mean:
@x = ;
$a = [1, 2, [EMAIL PROTECTED];
I imagine that the 3rd element of the Array is itself an Array, and is
the same object that is bound to @x. But captures are lazy
context-
Perl 6 doesn't have references anymore, it has captures. So, what does
the following mean:
@x = ;
$a = [1, 2, [EMAIL PROTECTED];
I imagine that the 3rd element of the Array is itself an Array, and is
the same object that is bound to @x. But captures are lazy
context-sensitive beasts, so I w
I want to review and collect the wisdom of what has been discussed before.
Someone mentioned this the other day, as being a significant consensus. But I
can't find anything in the forum archives.
Can someone point to the discussion, position papers, etc.?
--John
Moritz Lenz moritz-at-casella.verplant.org |Perl 6| wrote:
Then in S12 it shows
my constant ...
and
our constant ...
that is, independant from the my or our declarator.
I grep'ped STD.pm tentatively for other occurrences of 'constant', and
couldn't find where that should be imple
John M. Dlugosz wrote:
> The synopses are contradictary over the way 'constant' works. First it says
> that it is a declarator like 'my'.
That's what STD.pm says:
token scope_declarator:my { {*} }
token scope_declarator:our { {*} }
token scope_declarator:state{ {*} }
token