in reply to better way to cleanup a package?

To include a module again afresh you need to delete a key from %INC hash:
delete $INC{Safe.pm};
but IMHO this is not a "safe" way to use Safe.pm module.

Best wishes,
Courage, the Cowardly Dog