Help for this page
use Sub::ScopeFinalizer qw( scope_finalizer ); ... @undo = (); # Or $guard->disable(); }