Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

"print" of nonexistent element is actually altering a hash

by larrymenard (Novice)
on Feb 17, 2020 at 18:11 UTC ( [id://11113064]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    print "\nDump of \%hash (2):\n";
    print Dumper \%hash;
    
  2. or download this
    Dump of %dtoHash (1):
    $VAR1 = {
    ...
                          'key1' => {}
                        }
            };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11113064]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-18 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found