Tom, I would suggest installing DBI if you haven't done so yet, and read through the included perldoc documentation by doing
perldoc DBI at a command prompt(on *nix) - if you're on Windows, I believe you can bring up a DOS window and type 'perldoc DBI' at that command prompt. Reading through that documentation right up front is VERY worthwhile, and I think it will answer most of the questions you may have. It explains how to use Perl's "eval" function to catch DBI errors(or exceptions). HTH. -- Hardy Merrill Senior Software Engineer Red Hat, Inc. [EMAIL PROTECTED] Tom Ansley [[EMAIL PROTECTED]] wrote: > Hi, > > I'm new to using perl and dbi and have tried to find out how to catch an > exception but for the script not to terminate and haven't had much luck . I > am sure this is probably pretty simple but any help would be appreciated. > > Thanks > > Tom Ansley
