diff options
Diffstat (limited to 'Master/tlpkg/tlperl/site/lib/common/sense.pm')
-rw-r--r-- | Master/tlpkg/tlperl/site/lib/common/sense.pm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl/site/lib/common/sense.pm b/Master/tlpkg/tlperl/site/lib/common/sense.pm new file mode 100644 index 00000000000..14f18a4710b --- /dev/null +++ b/Master/tlpkg/tlperl/site/lib/common/sense.pm @@ -0,0 +1,16 @@ +package common::sense; + +our $VERSION = 3.74; + +# overload should be included + +sub import { + local $^W; # work around perl 5.16 spewing out warnings for next statement + # use warnings + ${^WARNING_BITS} ^= ${^WARNING_BITS} ^ "\x0c\x3f\x33\x00\x0f\xf0\x0f\xc0\xf0\xfc\x33\x00\x00\x00\x0c\x00\x00"; + # use strict, use utf8; use feature; + $^H |= 0x1c820fc0; + @^H{qw(feature_fc feature_unicode feature_switch feature_state feature_say feature___SUB__ feature_evalbytes)} = (1) x 7; +} + +1 |