in reply to Merging Arrays into a Hash with Substitutions
(I'd probably still reach for map first.)while ( my @row = $dbQuery->fetchrow_array() ) { $_ = "" for grep {not defined} @row; @info{@{$headings}} = @row; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Merging Arrays into a Hash with Substitutions
by Roy Johnson (Monsignor) on Apr 07, 2004 at 16:36 UTC |