I'd be inclined to use PushNew and UnshiftNew because you are adding a new key or replacing an old one. The reorder is kinda incidental to the fact that you want the new key to be the authoritative one.
In reply to Re: MCE::OrdHash naming Push and Unshift methods supporting merging and reordering
by GrandFather
in thread MCE::OrdHash naming Push and Unshift methods supporting merging and reordering
by marioroy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |