The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

rebless

Safely re-bless a locked (use fields) hash into another package. Note that for our convenience elsewhere the set of allowable keys for the reblessed hash will be the union of the keys allowed by its old package and those allowed for the package into which it is blessed.