Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: CGI::Application::Plugin::DBH connect error handling

by jaldhar (Vicar)
on Feb 10, 2011 at 21:34 UTC ( #887538=note: print w/replies, xml ) Need Help??

in reply to CGI::Application::Plugin::DBH connect error handling

IMO regardless of whether you use the plugin or plain DBI or whatever, you should wrap any database access calls in an eval{} (and RaiseError => 1 in dbh_config().) Too many different things can go wrong in a web app.


  • Comment on Re: CGI::Application::Plugin::DBH connect error handling

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://887538]
[Discipulus]: [OT] if i have an svg image (a map of italian provinces) like this one in which way i need to interact with it to have a geochart?
[Corion]: I haven't found a good way to plot stuff into country maps... Maybe one of the demos of D3.js has something usable?
[Discipulus]: i need to use css to get and colorize various different IDs?
[Corion]: I haven't used it, but http://datamaps. looks promising
[Discipulus]: thanks.. a more perlish solution?

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2017-03-23 09:18 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (285 votes). Check out past polls.