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.
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.