DOKK / manpages / debian 12 / libje-perl / JE::Destroyer.3pm.en
JE::Destroyer(3pm) User Contributed Perl Documentation JE::Destroyer(3pm)

JE::Destroyer - Experimental destructor for JE

  use JE::Destroyer; # must come first
  use JE;
  $j = new JE;
  # ... do stuff ...
  JE::Destroyer::destroy($j); # break circular refs
  undef $j;

This is an experimental module that provides a way to destroy JE objects without leaking memory.

Details of its interface are subject to change drastically between releases.

See the "SYNOPSIS" above for usage.

JE

2022-11-19 perl v5.36.0