X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Flocale.pm;h=a51e2b1c097582b4b46fe208bbbc1d8109acaa54;hb=5290524f8b52822096b01140005d681d126b507d;hp=44e88f48c66c54b91b4eaeda4be678029aa70a75;hpb=b8bc843f4b88497de8b7d2b8ca0b37a92d610dc4;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/locale.pm b/lib/locale.pm index 44e88f4..a51e2b1 100644 --- a/lib/locale.pm +++ b/lib/locale.pm @@ -1,5 +1,7 @@ package locale; +our $VERSION = '1.00'; + =head1 NAME locale - Perl pragma to use and avoid POSIX locales for built-in operations @@ -25,12 +27,14 @@ locales. =cut +$locale::hint_bits = 0x4; + sub import { - $^H |= 0x800; + $^H |= $locale::hint_bits; } sub unimport { - $^H &= ~0x800; + $^H &= ~$locale::hint_bits; } 1;