Use double-quotes and quotemeta for inlined hash slot access.
authorDave Rolsky <autarch@urth.org>
Thu, 13 Aug 2009 15:46:38 +0000 (10:46 -0500)
committerDave Rolsky <autarch@urth.org>
Thu, 13 Aug 2009 15:46:38 +0000 (10:46 -0500)
commit5143ee94fd91fcc17dfb6428baa503c487df2665
tree1a988434a9467ea770898f5b9cb6de55b9f615b8
parent88907756478e17ba4e844b91d0fe1863ad29d69b
Use double-quotes and quotemeta for inlined hash slot access.

This seems safer than using regex substitutions to escape strings.
lib/Class/MOP/Instance.pm
t/061_instance_inline.t