Stop constant.pm from (ab)using subs for scalars
authorFather Chrysostomos <sprout@cpan.org>
Fri, 28 Jun 2013 08:27:48 +0000 (01:27 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 26 Jul 2013 06:48:01 +0000 (23:48 -0700)
commit94d5c1748d4becd9d5dc21c90a0cae02d399076d
tree874cd8cb05cc13e86fd2f378cb856111b7bfed1e
parent82c2360886b2bdf906710e9ba6b5639cece80e9f
Stop constant.pm from (ab)using subs for scalars

under versions that support $::{foo} = \1.

This changes no behaviour.  Future commits will change the way
sub(){42} and sub(){$forty_two} work.  (The former will return a muta-
ble value; the latter will not be inlined at all.)
dist/constant/lib/constant.pm