On Sun, Mar 06, 2005 at 12:30:43PM -0500, Garrett Rooney wrote:
: Autrijus Tang wrote:
: >On Sat, Mar 05, 2005 at 02:39:06PM -0700, Luke Palmer wrote:
: >
: >>Garrett Rooney writes:
: >>
: >>>Garrett Rooney wrote:
: >>>
: >>>
: >>>>Assuming the spec is correct, here's a patch to add some more tests to 
: >>>>t/op/string_interpolation.t.
: >>>
: >>>Of course, those should have been todo_is tests...  Here's the right 
: >>>patch.
: >>
: >>Thanks, applied.
: >
: >
: >Thanks, implemented as such (r579).
: >
: >With that change however, these three lines are now the same:
: >
: >    my @x = @a;
: >    my @x = @a[];
: >    my @x[] = @a;
: >
: >Is that correct?
: 
: I believe so, since @x[] is an array slice that encludes the entire 
: contents of the array.

Yes, it's taken as a 0-dimensional slice, rather than a 1-dimensional
slice with 0 selected elements.

Larry

Reply via email to