references quick referencemy $tbl_ary_ref = $query1->fetchall_arrayref; warn "WHOOPS ", $query1->err if $query1->err ; for my $data ( @{ $tbl_ary_ref } ){ my $cur_company = $$data[0]; $cur_company = $data->[0]; ... } for my $data ( @{ $tbl_ary_ref } ){ my $cur_company = $$data[0]; $cur_company = $data->[0]; ... } for my $data ( @{ $tbl_ary_ref } ){ my $cur_company = $$data[0]; $cur_company = $data->[0]; ... }
In reply to Re^3: loop though query results twice
by Anonymous Monk
in thread loop though query results twice
by pdmonney
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |