in reply to syntax error

> syntax error at 11.pl line 17

Why don't you show us line 17 of file 11.pl?

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!