Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Hash Printing reveals Hash Memory Location

by tobyink (Canon)
on Feb 03, 2012 at 01:04 UTC ( [id://951573] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     my %words = {};
    
  2. or download this
     my %words = ();
    
  3. or download this
     my %words;
    
  4. or download this
     my %words;
     my $ref_to_anon_hash = {};
     $words{ $ref_to_anon_hash } = undef;