in reply to get a reverse of a constant hash

Please note that while the reference in MONTH is a constant, the actual key - value pairs in the referenced hash are NOT.

IMO, you're just as well off using a normal variable to hold the information, which will make it a lot easier to read the values out of the hash too.

Maybe you want lock_hash in Hash::Util instead.

Joost.