syntax error at a.pl line 5, near "{" Can't find string terminator "'" anywhere before EOF at a.pl line 9.