While I agree that I've never encountered restricted hashes in real code, and have never felt like I should reach for them, I also cannot say that I have never been bitten by problems that they could have prevented. Unfortunately, unlike use strict, they are a feeble solution that is inelegant to wield.
Dave
In reply to Re^2: strict "vars" mode for hash key literals?
by davido
in thread strict "vars" mode for hash key literals?
by perlancar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |