in reply to Re^2: Looking for Perl Elegance!
in thread Looking for Perl Elegance!

You should use 'elsif' and not 'else if'.