String found where operator expected at prog.pl line 4, near "$ ne "end""
(Missing operator before "end"?)
syntax error at prog.pl line 4, near "$ ne "end""
syntax error at prog.pl line 9, near "}"
Execution of prog.pl aborted due to compilation errors.