tanger has asked for the wisdom of the Perl Monks concerning the following question:
Any ideas on what I can do to see what the problem is here?sub dbi_test { use DBI; print "hey"; my $dbh_r = DBI->connect('DBI:mysql:mydb_name:host=pctwo') or print "C +ouldn't connect to database: " . DBI->errstr; print "hi"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How come no DBI error??
by moot (Chaplain) on Apr 16, 2005 at 06:07 UTC | |
by tanger (Scribe) on Apr 16, 2005 at 06:24 UTC | |
by davidrw (Prior) on Apr 16, 2005 at 13:34 UTC | |
by CountZero (Bishop) on Apr 16, 2005 at 09:18 UTC | |
|
Re: How come no DBI error??
by Anonymous Monk on Apr 16, 2005 at 19:38 UTC |