Help for this page

Select Code to Download


  1. or download this
    sub IO::Handle::DESTROY {
      my $deadbody = shift;
    ...
        or close $deadbody
        or die "Cannot close $deadbody: $!";
    }
    
  2. or download this
    {
      local *IO::Handle::DESTROY = sub { ... };
    ...
        ...
      } # will trigger here
    }