It is worth noting that the // operator is new perl 5.10.0, so if yo uuse it, you should start your code with
use 5.010;
Then if somebody accidentally runs the code with an older version of perl, you get a much better error message.
In reply to Re^2: Replacing If Elsif Else with Hash
by moritz
in thread Replacing If Elsif Else with Hash
by johnfl68
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |