Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: autovivication and referencing

by sundialsvc4 (Abbot)
on Nov 20, 2013 at 14:11 UTC ( #1063532=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict; use warnings; 
    use Data::Dumper; 
    ...
    print Dumper(\@a, $b); 
    $b->{"c"}[0]=4; 
    print Dumper(\@a, $b);'
    
  2. or download this
    $VAR1 = [
              1,
    ...
    $VAR2 = {
              'c' => $VAR1
            };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1063532]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2016-12-03 03:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (52 votes). Check out past polls.