Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^3: Nested Switch case

by amir_e_a (Hermit)
on Nov 29, 2010 at 22:29 UTC ( #874380=note: print w/replies, xml ) Need Help??

in reply to Re^2: Nested Switch case
in thread Nested Switch case

I used the Switch module around 2006 in a program of a few thousands of lines that was supposed to be used in a production environment. It caused some surprising bugs. I don't even remember what they were exactly, but it really wasn't something that i would expect to come from using such a module. It didn't save me any typing and didn't add any elegance to the code, and i wasted some time (an hour maybe) trying to understand what causes the bugs until i just replaced it with if/else and didn't look back.

given/when is great if you can use it, though.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://874380]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2019-12-11 13:41 GMT
Find Nodes?
    Voting Booth?

    No recent polls found