http://qs321.pair.com?node_id=959036


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.