in reply to Quick DBI Fail Question
I will have to read up on the difference between do and fetch...The code snippet was just kind of an example I forgot to remove...
I have one more question then...In the "die" statement, how can I go about making that more or less print html.
I've tried to do "die " print qq^ 'html with quotes goes here' ^";, But I know that cannot work.
Re^2: Quick DBI Fail Question
by jZed (Prior) on Nov 08, 2007 at 00:56 UTC
|
If you set RaiseError in the connection, it will die and print automatically - you don't need to specifically trap or print them. See Carp for how to make the errors appear in a browser. | [reply] [Watch: Dir/Any] |
|