in reply to Re^2: Passing logical operators on as content of scalarin thread Passing logical operators on as content of scalar
print $number1, " is ",
("equal to", "greater than", "less than")[$number1 <=> $number2],
" ", $number2, "\n";
No need to add one :)
Nice trick, but it calls for an explaining comment.
The ISS (or other satellites)
Results (302 votes). Check out past polls.