# New Ticket Created by Ron Schmidt # Please include the string: [perl #93978] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=93978 >
In the spec here http://perlcabal.org/syn/S03.html#Comparison_semantics at the bottom of the section it reads " a comparison naturally throws an exception if either of its arguments is undefined". As discussed on IRC here that does not match implementation or TimToady's current view of design: http://irclog.perlgeek.de/perl6/2011-07-03#i_4051351 and http://irclog.perlgeek.de/perl6/2011-07-03#i_4051461 . The current implementation does: 12:43 PhatEddy perl6: my Int $x; if $x<=0 { say 'cmp OK' } 12:43 p6eval pugs, rakudo 72d158, niecza v7-11-g9ba8284: OUTPUT«cmp OK»