develooper Front page | perl.perl5.porters | Postings from May 2018

[perl #133202] squaring a reference doesn't cause an error

Thread Previous | Thread Next
Dan Book via RT
May 15, 2018 22:58
[perl #133202] squaring a reference doesn't cause an error
Message ID:
On Tue, 15 May 2018 15:42:34 -0700, wrote:
> It might be useful to have this as a warning if it isn't already.  I'd
> imagine that this isn't the expected result for most people.

Probably reasonable to warn if any mathematical operation other than 0+ is done on a reference without overloads, if possible.


via perlbug:  queue: perl5 status: open

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