in reply to handler for normal termination?
Maybe you want an END { ... } block? (see perlmod for details)