On Mon, 27 Dec 1999, John M Vinopal wrote:

> More about the undef of package variables.  Sure enough, the variables are
> nuked in PerlRun::flush_namespace().  This can be inhibited by removing
> them from the script's namespace before termination:
> 
> my $name = __PACKAGE__ . '::';
> delete($name->{'VARIABLE NAME HERE'});
> 
> I notice that the 1.17 bug about undefing subroutines was fixed by adding
> some checking code PerlRun::undef_cv_if_owner(), should this same sort of
> thing be done for variables as well?

yes, sounds like that's the case.  thanks for the insights.  >>ToDo

Reply via email to