Remove Switch/Case Statement, Incompatible with Perl 5.8

For some reason it appears that Swtich.pm version 2.10 which was distributed in perl 5.8.x has some egregious bugs.

In order to enable backwards compatibility, these have been converted to if/elsif/else statements