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

undoing of auto-deref removal

Thread Next
From:
L A Walsh
Date:
February 28, 2021 07:21
Subject:
undoing of auto-deref removal
Message ID:
603B4471.7010708@tlinx.org
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 '%'.


So can I ask that it's removal be undone?

Thanks!




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