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

Re: [ID 20000317.003] missing slice of reference

Thread Previous | Thread Next
From:
Tom Christiansen
Date:
March 17, 2000 06:27
Subject:
Re: [ID 20000317.003] missing slice of reference
Message ID:
25177.953303246@chthon
>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. 

--tom

Thread Previous | Thread Next


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