Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
[LanX]: Bishop LanX starts singing: ♪..♫ I want it all ...♩..♬
LanX ♪..♫ ...and I want it now!!! ♩..♬

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2017-09-20 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (237 votes). Check out past polls.

    Notices?