Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Can I create hash dynamically by looping through an array? The hash name should be the array element

by punch_card_don (Curate)
on Jan 25, 2013 at 14:19 UTC ( #1015353=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
            print "<br>$key1 > $key2 > $HoH{$key1}{$key2}\n";
        }
    }
    
  2. or download this
    var1 > key11 > value11
    var1 > key12 > value12
    ...
    var3 > key31 > value31
    var3 > key32 > value32
    var3 > key33 > value33 
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2015-07-08 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (96 votes), past polls