http://qs321.pair.com?node_id=1033669


in reply to Re: How to catch SQL::Parser errors in Perl
in thread How to catch SQL::Parser errors in Perl

Tried this but it still shows the Defaut msgs from Parser.pm : Incomplete SET clause! at ./post_fjs_audit.pl line 173
+173 my $result = eval { $parser->parse($statement) }; +174 unless($result) { +175 print "Caught!\n"; +177 }
Incomplete SET clause! at ./post_fjs_audit.pl line 173 Caught!
Any way to suppress these default msgs from Parser.pm ? One more problem is that the program exits on the caught exception. What if there are statements below to process. I dont want the program to exit.