On Fri, Dec 20, 2013 at 10:45:05AM -0500, Brandon Allbery wrote:
>    On Fri, Dec 20, 2013 at 10:39 AM, john boris <jbori...@gmail.com> wrote:
> 
>      I have this perl script that I have a long if/elsif portion. I am
>      porting a shell script to perl so I am trying to mimic a case statement
>      from a shell script. I know I should use Switch but the version
> 
>    Actually Switch is considered rather bad.

I don't think I've heard that before.. why is switch considered bad?  In most 
languages it is supposed to be far more efficient than a nested if statement.

Paul
_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to