smart match operator
23:10 tokuhirom: ""~~0
23:10 tokuhirom: true
23:10 tokuhirom: ""==0
23:10 tokuhirom: true
23:10 tokuhirom: undef~~0
23:10 tokuhirom: false
23:10 tokuhirom: undef==0
23:10 tokuhirom: true
But perlsyn says
Any Num numeric equality $a == $b
Num numish[4] numeric equality $a == $b
Why undef~~0 is not consistent with $a==$b?
Published: 2012-04-18(Wed) 14:18