Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 perusing the Monastery: (8)
As of 2014-08-29 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls