http://www.perlmonks.org?node_id=1005346


in reply to Re: Replacing If Elsif Else with Hash
in thread Replacing If Elsif Else with Hash

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.