Carl MXXsak (via RT) wrote:
> # New Ticket Created by "Carl Mäsak"
> # Please include the string: [perl #57790]
> # in the subject line of all future correspondence about this issue.
> # http://rt.perl.org/rt3/Ticket/Display.html?id=57790 >
>
>
> r30166:
> $ perl6 -e '99[1]'
> get_pmc_key
On Thu, Aug 14, 2008 at 02:32:29AM -0500, Patrick R. Michaud wrote:
: AFAICT, according to the grammar it's valid standard Perl 6 syntax.
At least in pugs, 42[0] is legal, and produces the value 42, on
the theory that anything can be considered a list of 1 item, and
if you use something as a list,
On Mon, Aug 11, 2008 at 12:08:21AM -0700, Carl Mäsak wrote:
> r30166:
> $ perl6 -e '99[1]'
> get_pmc_keyed() not implemented in class 'Integer'
> [...]
> $ perl6 -e '100[1]'
> get_pmc_keyed() not implemented in class 'Float'
> [...]
>
> So:
>
> * For some reason, a literal integer followe