in reply to Re^2: Judiciously avoiding DESTROY method for CGI::Session clobber prevention
in thread Judiciously avoiding DESTROY method for CGI::Session clobber prevention

There is, if you are sure it's what you want.
my $instance; ... if (want to disable destroy) { package My::Private::DESTROYless::CGI::Session; sub DESTROY { } @ISA = 'CGI::Session'; bless $instance; }
  • Comment on Re^3: Judiciously avoiding DESTROY method for CGI::Session clobber prevention
  • Download Code