6 Einträge, 1 Seite |
QuoteCan't use string ("text") as a HASH ref while "strict refs" in use at /var/www/cgi-bin/guestbook line 15.
1
2
3
4
5
6
7
8
9
sub getColnames{
my ($dbh,$tablename) = @_;
my @columns;
my ($sth) = $dbh->column_info(undef,undef,$tablename,'%');
while(my $row = $sth->fetchrow_hashref()){
push(@columns,$row->{COLUMN_NAME});
}
return @columns;
}
6 Einträge, 1 Seite |