[ABE.pm] array references?
phil at five-lawrences.com
Fri Oct 1 14:51:48 CDT 2004
On Oct 1, 2004, at 15:35, Faber Fedor wrote:
> How does one access elements in an array reference? I'v done this:
> my $data_array = $dbh->selectall_arrayref("select A, B from
> $table where realdate = '" . $fulldate ."'");
> and I get something back, I just can't figure out how to access the
> in column A or B. How would I print out each pair of values?
print $aref->; #prints first elem of first row
Also, fire up the perl debugger and make like so:
More information about the ABE-pm