in reply to
Quick syntax error in 13 lines of code
My guess is you are not using something like this in your code:
use feature "switch";
[download]
Switch statements
Comment on
Re: Quick syntax error in 13 lines of code
Download
Code
In Section
Seekers of Perl Wisdom