Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -slw
    
    ...
    
    my $sentry = Object::Destroyer->new(sub { undef $copy });
    print B::svref_2object($ref)->REFCNT;
    
  2. or download this
    #!/usr/bin/perl
    
    ...
        testsub;
    }
    $closure->($ref);