I am noticing syntax error for switch case while the syntax is perfectly valid.
For this switch syntax to work without errors 'Switch.pm' needs to be loaded by interpreter as mentioned here - http://perldoc.perl.org/Switch.html
Try adding "use Switch;" in the script before using switch.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.