Re:Perl: When DWIM Doesn't
by draegtun on Tuesday January 31, 2012 @11:11AM
(#3533845)
Another solution could be to lock the keys of $config after its been configured:
Now any attempt to use an undefined key will throw an error. So on the open() it would now throw error: Attempt to access disallowed key 'file_path' in a restricted hash at...
[ Parent
| on HN ]
Re:Perl: When DWIM Doesn't
by douglashunter on Tuesday January 31, 2012 @11:33AM
(#3533954)
This is what Kris Arnold (https://twitter.com/wka), one of the other hackers here at Shutterstock recommended. I like it.