Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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]: http://web.archive .org/web/ 20071005212040/ http://www. everydevel.com:80/ index.pl?node= Everything %20Diagram
erix .oO( hm, tough beans )

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2017-11-20 21:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (294 votes). Check out past polls.

    Notices?