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


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

johnfl68:

If everything worked find (i.e. no error messages, etc.) and if failed only because of the addition of the if/else block, then I think I'd suspect one or more of your braces was a line too high or too low, causing the code to be bypassed or some such. Pure speculation, though.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re^3: Replacing If Elsif Else with Hash