Refactored cascading if-else.
Merge pull request #2 from guillaumeaubert/cascading_if_else

PerlCritic - ControlStructures::ProhibitCascadingIfElse