… | |
… | |
105 | our $VERSION = '1.0'; |
105 | our $VERSION = '1.0'; |
106 | |
106 | |
107 | # no warnings; |
107 | # no warnings; |
108 | # use warnings qw(FATAL closed threads internal debugging pack substr malloc unopened portable prototype |
108 | # use warnings qw(FATAL closed threads internal debugging pack substr malloc unopened portable prototype |
109 | # inplace io pipe unpack regexp deprecated exiting redefine glob digit printf |
109 | # inplace io pipe unpack regexp deprecated exiting redefine glob digit printf |
110 | # utf8 layer reserved parenthesis taint closure); |
110 | # utf8 layer reserved parenthesis taint closure semicolon); |
|
|
111 | # no warnings qw(exec newline); |
111 | # BEGIN { warn join "", map "\\x$_", unpack "(H2)*", ${^WARNING_BITS} }; |
112 | # BEGIN { warn join "", map "\\x$_", unpack "(H2)*", ${^WARNING_BITS}; exit 0 }; |
112 | |
113 | |
113 | # overload should be included |
114 | # overload should be included |
114 | |
115 | |
115 | sub import { |
116 | sub import { |
116 | # verified with perl 5.8.0, 5.10.0 |
117 | # verified with perl 5.8.0, 5.10.0 |
117 | ${^WARNING_BITS} = "\xfc\xff\xff\x00\xcf\xf3\xcf\xc0\xf3\xcc\x33\x03"; |
118 | ${^WARNING_BITS} = "\xfc\x3f\xf3\x00\xcf\xf3\xcf\xc0\xf3\xfc\x33\x03"; |
118 | |
119 | |
119 | # use strict vars subs |
120 | # use strict vars subs |
120 | $^H |= 0x00000600; |
121 | $^H |= 0x00000600; |
121 | |
122 | |
122 | # use feature |
123 | # use feature |