in reply to Re: DBI & setsockopt
in thread DBI & setsockopt
And here's what I get:$dbh = &db_connect; print "hi there 3\n"; #my $p = $dbh->sock; #my $h = $dbh->host; #my $d = $dbh->database; #print "port: p\nhost: $h\ndb : $d\n"; print "dbh: $dbh\n"; use Data::Dumper; Data::Dumper->Dump([$dbh]); foreach ( keys %$dbh) { print "$_=$dbh{$_}\n"; } print "got here\n";
a) Its telling me that $dbh is a hash, but why can't I print out its contents?hi there 3 dbh: DBI::db=HASH(0x3de72b0) got here
b)The 4 lines are commented out, because if I leave them in, the application dies silently.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: DBI & setsockopt
by derby (Abbot) on Nov 23, 2005 at 15:17 UTC |