my $instance; ... if (want to disable destroy) { package My::Private::DESTROYless::CGI::Session; sub DESTROY { } @ISA = 'CGI::Session'; bless $instance; }
In reply to Re^3: Judiciously avoiding DESTROY method for CGI::Session clobber prevention
by ysth
in thread Judiciously avoiding DESTROY method for CGI::Session clobber prevention
by rlucas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |