develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [ID 20000317.003] missing slice of reference

From:
Tom Christiansen
Date:
March 17, 2000 04:52
Subject:
Re: [ID 20000317.003] missing slice of reference
Message ID:
2498.953297553@chthon
>@a->[2] is
>accepted, without complaint, to apparently mean $a[2]. And I cannot
>see why 'scalar(@x)->[2]' produces the 3rd element of array @x.

Those are old bugs, which, per my recollection, were judged "very
difficult" to address.

--tom



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About