Code:
C:\Temp>perl -c test.pl
Unmatched right curly bracket at test.pl line 47, at end of line
syntax error at test.pl line 47, near "}"
syntax error at test.pl line 63, near "}"
syntax error at test.pl line 70, near "}"
test.pl had compilation errors.