Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^5: variable as hash name

by Tux (Monsignor)
on Dec 08, 2012 at 09:58 UTC ( #1007879=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %all_my_hashes;
    
    ...
    $all_my_hashes{Bet01} = { 230 => 2, 238 => 5, 224 => 1, };
    $all_my_hashes{Bet05} = { 101 => 2, 103 => 2,   0 => 4, };
    
  2. or download this
    %$foo = ( 1, 2, ... );
    
    ...
    
    my %all_my_hashes;
    $all_my_hashes{$foo} = { 1 => 2, ... };
    
  3. or download this
    my $all_my_hashes;
    $all_my_hashes->{$foo} = { 1 => 2, ... };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-07-30 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls