in reply to Deleting a file after it runs?

There is always, of course, Acme::Bleach :-)
print "Goodbye World!\n"; eval "use Acme::Bleach"; die "Back from the dead: $@" if ($@);