As far as I know, new switch statement is introduced in version 5.10.X
http://perldoc.perl.org/5.12.5/Switch.html
http://perldoc.perl.org/5.8.9/Switch.html
I got a stupid programming question: can switch statment inside switch statement?
I mean switch inside a switch? double switch