Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Explaining Autovivication

by throop (Chaplain)
on Jun 12, 2008 at 04:20 UTC ( #691586=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $quick->{brown}->{fox} ->{$jumped} = 1 / $Lazy_dog;
    
  2. or download this
    $stateCityPopulation =
     {Illinois => {Springfield => 116482},
      Massachusets => {Springfield => 154082},
      Missouri   => {Springfield => 150797}}};
    
  3. or download this
     
    foreach my $state (qw(Illinois Massachusets Ohio Missouri)){
      my $pop = $stateCityPopulation->{$state}->{Springfield} || next;
      $springfielders += $pop}
    
  4. or download this
    $pop = ($stateCityPopulation->{$state} && 
            $stateCityPopulation->{$state}->{Springfield}) || 
            next;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2015-07-01 16: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 (9 votes), past polls