> new error:
>
> > my $a = 'abc'; say $a[1];
> ===SORRY!===
> .[1] out of range for type Str()
>
I believe this is the correct behavior per the specification.
Pm
On Wed Dec 16 07:03:22 2009, masak wrote:
> rakudo: $/ = "abc"; say $1
> rakudo 55f51d: b
> hihi.
> * masak submits rakudobug
> rakudo: my $a = 'abc'; say $a[1];
> rakudo 55f51d: Method 'postcircumfix:[ ]' not found for
> invocant of class 'Str' [...]
> heh
> interesting
> rakudo: $/ =
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #71362]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=71362 >
rakudo: $/ = "abc"; say $1
rakudo 55f51d: b
hihi.
* masak submits rakudobug
rakudo: