Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Merging Arrays into a Hash with Substitutions

by Enlil (Parson)
on Apr 07, 2004 at 15:52 UTC ( [id://343313]=note: print w/replies, xml ) Need Help??


in reply to Merging Arrays into a Hash with Substitutions

Perhaps something like map might help.
while ( my @row = $dbQuery->fetchrow_array() ) { @info{@{$headings}} = map { defined ? $_ : "" } @row; }

-enlil

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://343313]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-19 17:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found