Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re4: DBI perpare_cached and statment handle gone bad

by dragonchild (Archbishop)
on Jul 09, 2003 at 12:59 UTC ( [id://272669]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       my $dbh = try {
          DBI->connect(
    ...
       $dbh->{HandleError} = sub { throw Error::Database -text => $DBI::er
    +rstr };
    
       return $dbh;
    
  2. or download this
    package Error::Database;
    
    ...
    }
    
    1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://272669]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-23 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found