Chj::Destructor
use Chj::Destructor; my $z=0; { my $x= ["foo", Destructor { $z++ }]; } is $z, 1;
Util to help debug or test memory deallocation.
End.pm, but that one does not type-check the destructor argument early, nor does it localize error variables in its DESTROY method.
To install PXML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PXML
CPAN shell
perl -MCPAN -e shell install PXML
For more information on module installation, please visit the detailed CPAN module installation guide.