in reply to Re^2: Passing logical operators on as content of scalar
in 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 :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Passing logical operators on as content of scalar
by soonix (Chancellor) on Feb 08, 2018 at 21:14 UTC | |
|
Re^4: Passing logical operators on as content of scalar
by afoken (Chancellor) on Feb 10, 2018 at 18:52 UTC |