Peter Rabbitson wrote:

I then tried to change it in the following way, but I get an error:
Can't locate object method "catch" via package "DBException" (perhaps you forgot to load "DBException"?) at ./testerror line 16.
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

It seems that you're missing "use DBException;"

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to