Help for this page
Select Code to Download
Select
or
download this
return defined $result ? 1 : 0;
Select
or
download this
my $cmp = $x > $y ? 1 : $x == $y ? 0 : -1;