Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Problem with HTML::Parser

by repellent (Priest)
on Mar 11, 2012 at 22:16 UTC ( #959036=note: print w/replies, xml ) Need Help??


in reply to Problem with HTML::Parser

Check for errors when you connect:
my $dbfile = "/media/DOOMGL/perl/db.sqlt"; my $dbh = DBI->connect("dbi:SQLite:dbname=$dbfile", "", "") or die $DBI::errstr;

When you fail to connect, $dbh will be undef.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://959036]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2016-12-04 18:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (69 votes). Check out past polls.