Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: dynamic hash nesting

by moritz (Cardinal)
on Aug 16, 2012 at 20:45 UTC ( #987877=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use 5.010;
    use strict;
    ...
            with    Assault with a deadly weapon
            without    Assault without a deadly weapon
        Aggravated    Aggravated Assault
    
  2. or download this
    VAR1 = {
        'Assault' => {
    ...
        }
    };
    
  3. or download this
    sub lookup {
        my $h = \%h;
    ...
    
    say lookup 'Assault';
    say lookup qw/Assault Deadly with/;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2015-07-04 09:40 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 (59 votes), past polls