Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    
    ...
    print Dumper(\%uhash);
    
    print "done\n";
    
  2. or download this
    $VAR1 = bless( {
                     'key1' => 'val1',
    ...
              'key2' => 'val2'
            };
    done
    
  3. or download this
    my %ahash = (
       key1 => 1,
       key2 => 2
    );
    bless \%ahash, 'FOO';
    
  4. or download this
    use Devel::Peek 'Dump';
    use Data::Dumper;
    ...
    print "ORIGINAL HASH (after blessing, note it's now been associated wi
    +th the 'FOO' package!!):\n";
    print Dumper(\%ahash) ."\n";
    print Dump(\%ahash) ."\n\n";
    
  5. or download this
    ORIGINAL HASH:
    $VAR1 = {
    ...
          PV = 0x952e8 "val2"\0
          CUR = 4
          LEN = 5
    
  6. or download this
    # Under Construction