Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

special $dbh can't error?

by themage (Friar)
on Oct 03, 2008 at 10:20 UTC ( [id://715176]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use DBI;
    my $dbh=DBI->connect("dbi:mysql:hostname=localhost;database=somedb","u
    +serok","passwdok");
    ...
       my $dbh=shift;
       return $dbh->errstr();
    }
    
  2. or download this
    perl -v
    This is perl, v5.8.7 built for x86_64-linux-gnu-thread-multi
    
    perl -v
    This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
    

Log In?
Username:
Password:

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

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

    No recent polls found