in reply to Re: PERL CGI Newbie Question
in thread PERL CGI Newbie Question
This means that with Ovid's code above as a basis you can do something like
my @results; while (my %data = $dbh -> dbnextrow(1)) { push @results => \%data; }
I should point out that I haven't tested that (at least specifically here), though. Of course, if your're not using the DB column names as your hash keys, it'll all go pear-shaped ..
Just out of interest, as I said.
-- Foxcub
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: PERL CGI Newbie Question
by cosmicsoup (Beadle) on Dec 13, 2002 at 22:05 UTC |