| List: | MySQL and Perl | « Previous MessageNext Message » | |
| From: | Jochen Wiedmann | Date: | October 23 2003 5:05pm |
| Subject: | Re: Error Messages | ||
| View as plain text | |||
mark o' sullivan wrote: > Anyone know is it possible to change error messages. Say in the following > case: > my $dbh = > DBI->connect('DBI:mysql:database=waitingroomdetail;host=localhost', > $user, $password) > or die $DBI::errstr; > > Is it possible to change this $DBI::errstr message. No. Of course you can throw another string based on $DBI::err, for example or die MyErrorMessage($DBI::err); Jochen
| Thread | ||
|---|---|---|
| • Error Messages | mark o' sullivan | 23 Oct |
| • Re: Error Messages | Jochen Wiedmann | 23 Oct |
