Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Merging Arrays into a Hash with Substitutions

by svsingh (Priest)
on Apr 07, 2004 at 15:47 UTC ( [id://343311]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       while ( my @row = $dbQuery->fetchrow_array() ) {
          @info{@{$headings}} = @row;
       }
    
  2. or download this
       while ( my @row = $dbQuery->fetchrow_array() ) {
          foreach (@{$headings}) {
    ...
             } # if
          } # foreach
       } # while
    

Log In?
Username:
Password:

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

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

    No recent polls found