ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/common-sense/sense.pm
(Generate patch)

Comparing common-sense/sense.pm (file contents):
Revision 1.12 by root, Sat Aug 29 08:10:32 2009 UTC vs.
Revision 1.13 by root, Tue Sep 1 13:42:29 2009 UTC

102 102
103package common::sense; 103package common::sense;
104 104
105our $VERSION = '1.0'; 105our $VERSION = '1.0';
106 106
107# no warnings;
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
110# utf8 layer reserved parenthesis taint closure);
111# BEGIN { warn join "", map "\\x$_", unpack "(H2)*", ${^WARNING_BITS} };
112
113# overload should be included
114
107sub import { 115sub import {
108 # no warnings 116 # verified with perl 5.8.0, 5.10.0
109 ${^WARNING_BITS} ^= ${^WARNING_BITS}; 117 ${^WARNING_BITS} = "\xfc\xff\xff\x00\xcf\xf3\xcf\xc0\xf3\xcc\x33\x03";
110 118
111 # use strict vars subs 119 # use strict vars subs
112 $^H |= 0x00000600; 120 $^H |= 0x00000600;
113 121
114 # use feature 122 # use feature

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines