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

Re: [ID 20000317.003] missing slice of reference

Thread Previous | Thread Next
Tom Christiansen
March 17, 2000 06:27
Re: [ID 20000317.003] missing slice of reference
Message ID:
>I recall from the last time this came up that it's an accidental
>feature.    If the LHS of -> is an array or hash, it's treated as if
>it were a reference to that array or hash.    I think it hasn't been
>removed for fear of breakage.

>But it certainly ought to be documented.    Patch attached.

I like to see it documented as an error. 


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About