in reply to Re^4: Help on fetchrow_hashref!
in thread Help on fetchrow_hashref!

What part exactly do you have problems with?

If you don't want to die, don't call that routine.

Replies are listed 'Best First'.
Re^6: Help on fetchrow_hashref!
by Anonymous Monk on Nov 09, 2010 at 20:41 UTC
    I am just trying to have a way if something goes wrong to redirect to another place instead of having SQL information on the screen when something happens like database not been able to connect or something else.

      If you don't want to print information, don't print it.

      If you are working within a web framework (which I assume from your passing mention of "redirect"), then learn about how to issue a redirect in your environment. This has little to do with your chosen topic of "Help on fetchrow_hashref", but maybe you want to tell us more about your environment so we can more accurately help you? Again, if you don't want something done, don't do it.