syntax error at a.pl line 15, near "set_message" BEGIN not safe after errors--compilation aborted at a.pl line 16.