develooper Front page | perl.perl5.porters | Postings from February 2021

Re: undoing of auto-deref removal

Thread Previous | Thread Next
Paul "LeoNerd" Evans
February 28, 2021 09:44
Re: undoing of auto-deref removal
Message ID:
On Sat, 27 Feb 2021 23:21:21 -0800
L A Walsh <> wrote:

> It seems all of the reasons against auto-deref were answered
> in-so-much that
> that claims of ambiguity were shown not to exist.  For example, in
> the case of use of 'keys'.  Without autoderef, the language requires
> a perlvar of type ARRAY or HASH with a '@' or a '%' in front of it.
> Autoderef only supported the option of having a reference to something
> that would have had an '@' or a '%' in front of it.  Since perl always
> knows the type of vars having an '@' or '%' in front of, then
> a reference to either can automatically, and unambiguously always be
> assumed to be of type that would have had an '@' or '%'.

This has been discussed aplenty on

I don't believe this email thread adds anything new to the subject.

Paul "LeoNerd" Evans      |  |

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