develooper Front page | perl.perl5.porters | Postings from July 2016

[perl #71452] Num ~~ numish does not behave as expected

Thread Previous
Dan Collins via RT
July 22, 2016 16:13
[perl #71452] Num ~~ numish does not behave as expected
Message ID:
While reviewing this older ticket, I'm having some trouble deciding what other behavior is desired. Perlop defines "nummy" as "Either an actual number, or a string that looks like one.", changing that to perform numeric comparison on number ~~ string, even for strings that are clearly not numbers, seems problematic.

The code matches the documentation, so I'm marking this as wishlist. However, I also propose to mark this rejected.

Dan Collins

via perlbug:  queue: perl5 status: open

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