Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: $DBI::errstr is always undef

by Joost (Canon)
on Mar 02, 2007 at 22:05 UTC ( #602970=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $qry = $dbh->prepare(q{ select BAD__column from users where id=1254
    +3256 }) or die "Prepare bad: $DBI::errstr";
    
    $qry->execute();
    
  2. or download this
    DBD::mysql::st execute failed: Table 'test.users' doesn't exist at tes
    +t.pl line 8.
    Issuing rollback() for database handle being DESTROY'd without explici
    +t disconnect().
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2015-07-30 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls