What about the option where the source AoH is lexically scoped and is reaped when it goes out of scope?
Also, for clearing it, what about $#cp = -1;? On some Perls, particularly older ones, that's the fastest way to make the contents of an array unaccessible.
My criteria for good software:
Does it work?
Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
Comment on Re: What came (in) first, the push or the splice?