use sigtrap qw(die untrapped normal-signals); END { ... here's where I clean up the zip file ... }