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

undoing of auto-deref removal

Thread Next
L A Walsh
February 28, 2021 07:21
undoing of auto-deref removal
Message ID:
It seems all of the reasons against auto-deref were answered in-so-much 
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?


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