in reply to Re: Argument isn't numeric in sort -- resolve or ignore?
in thread Argument isn't numeric in sort -- resolve or ignore?
The smartmatch operator, ~~, is to the most recent version of bleadperl (5.23.8) considered experimental (and has been for a very long time).
I haven't read up on any tickets recently on it, but it most certainly shouldn't be relied upon.
This smartmatch operator was introduced in 5.10.0, and if one reads through docs, wasn't ever really 'liked'. The introduction was in perldelta 5.10.0.
As with any experimental feature, one should refrain from using it in any production code, and refer to the most recent perldelta to see what will live and/or die.
Data::Compare may help here.
|
|---|