Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to document complex data structures?

by sfink (Deacon)
on Oct 21, 2007 at 18:57 UTC ( #646294=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # { student name => grade }
    my %grades = ( "Bob" => 3.2, "Alice" => 3.9 );
    ...
    #    }
    #
    # or you could give a symbolic name to the { id => value } things.
    
  2. or download this
      my %map = ( a => 1, b => 3, c => 2 );
    
    ...
      my %map2 = ( a => { name => "Bob", children_ids => { Alice => 132, M
    +abel => 81 } });
      # Set $etty to "Mabel"
      match('{ ? => { children_ids => { $etty => 81 } } }', \%map2);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://646294]
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 2014-08-29 04:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls