gvandeweyer has asked for the wisdom of the Perl Monks concerning the following question:
my $rowcache = runQuery($query,"Table",\@ids); print "RunQuery results: ".scalar(@$rowcache)." rows\n";
while (my $result = shift(@$rowcache) ) { print OUT $result->{'id'}."\t".$result->{'Name'}."\t".$result->{'Co +de'}."\t".$result->{'Date'}."\t".$result->{'Comment'}."\n"; }
foreach my $result (@$rowcache) { print OUT $result->{'id'}."\t".$result->{'Name'}."\t".$result->{'C +ode'}."\t".$result->{'Date'}."\t".$result->{'Comment'}."\n"; }
|
---|