expresspotato has asked for the wisdom of the Perl Monks concerning the following question:
or evenforeach (@array){ print " @array[$i]{row_id}, @array[$i]{name}, @array[$i]{date} ..." $i++; }
Examples for both would be ideal but the latter is more desirable since I'll have access to direct values.foreach (@array){ print "$_{row_id}, $_{name}, $_{date} ..."; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Return Array of Hashes DBI (MYSQL)
by Corion (Patriarch) on Dec 06, 2009 at 20:22 UTC | |
by expresspotato (Beadle) on Dec 08, 2009 at 11:22 UTC | |
by Corion (Patriarch) on Dec 08, 2009 at 11:24 UTC |