Help for this page

Select Code to Download


  1. or download this
       my $memdump = MemoryDump->new();
    
       anyFunction();
    
       print $memdump->diff(MemoryDump->new();
    
  2. or download this
        my $anon = [];
        my $otherref = $anon;
    
        my $refcount =  B::svref_2object($anon)->REFCNT(); # => 2