in reply to Re^2: Macro-envy, a snippet.
in thread Macro-envy, a snippet.

Hash::Util (in the core in Perl 5.8) has routines to lock hashes. Sure, it happens at run time rather than compile time. But still I've found it to be very useful when developing software.