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.4 by root, Thu Jul 9 17:58:11 2009 UTC vs.
Revision 1.10 by root, Tue Aug 18 00:47:16 2009 UTC

73 73
74If your code isn't alive, it's dead, jim. 74If your code isn't alive, it's dead, jim.
75 75
76=item much less memory 76=item much less memory
77 77
78Just using all those pragmas together waste <blink>I<< B<776> kilobytes 78Just using all those pragmas together wastes <blink>I<< B<776> kilobytes
79>></blink> of precious memory in my perl, for I<every single perl process 79>></blink> of precious memory in my perl, for I<every single perl process
80using our code>, which on our machines, is a lot. In comparison, this 80using our code>, which on our machines, is a lot. In comparison, this
81module only uses I<< B<four> >> kilobytes (I even had to write it out so 81module only uses I<< B<four> >> kilobytes (I even had to write it out so
82it looks like more) of memory on the same platform. 82it looks like more) of memory on the same platform.
83 83
87 87
88=cut 88=cut
89 89
90package common::sense; 90package common::sense;
91 91
92our $VERSION = '0.03'; 92our $VERSION = '0.04';
93 93
94sub import { 94sub import {
95 # no warnings 95 # no warnings
96 ${^WARNING_BITS} ^= ${^WARNING_BITS}; 96 ${^WARNING_BITS} ^= ${^WARNING_BITS};
97 97
106 106
1071; 1071;
108 108
109=back 109=back
110 110
111=head1 NO 'no common::sense' 111=head1 THERE IS NO 'no common::sense'!!!! !!!! !!
112 112
113This module doesn't offer an unimport. First of all, it wastes even more 113This module doesn't offer an unimport. First of all, it wastes even more
114memory, second, and more importantly, who with even a bit of common sense 114memory, second, and more importantly, who with even a bit of common sense
115would want no common sense? 115would want no common sense?
116
117=head1 STABILITY AND FUTURE VERSIONS
118
119Future versions might change just about everything in this module. We
120might test our modules and upload new ones working with newer versions of
121this module, and leave you standing in the rain because we didn't tell
122you.
123
124Most likely, we will pick a few useful warnings, instead of just disabling
125all of them. And maybe we will load some nifty modules that try to emulate
126C<say> or so with perls older than 5.10 (this module, of course, should
127work with older perl versions - supporting 5.8 for example is just common
128sense at this time. Maybe not in the future, but of course you can trust
129our common sense).
130
131
132=head1 WHAT OTHER PEOPLE HAVE TO SAY ABOUT THIS MODULE
133
134Pista Palo
135
136 "Something in short supply these days..."
137
138Steffen Schwigon
139
140 "This module is quite for sure *not* just a repetition of all the other
141 'use strict, use warnings'-approaches, and it's also not the opposite.
142 [...] And for its chosen middle-way it's also not the worst name ever.
143 And everything is documented."
144
145BKB
146
147 "[Deleted - thanks to Steffen Schwigon for pointing out this review was
148 in error.]"
149
150Somni
151
152 "the arrogance of the guy"
153 "I swear he tacked somenoe else's name onto the module
154 just so he could use the royal 'we' in the documentation"
155
156dngor
157
158 "Heh. '"<elmex at ta-sa.org>"' The quotes are semantic
159 distancing from that e-mail address."
160
161Jerad Pierce
162
163 "Awful name (not a proper pragma), and the SYNOPSIS doesn't tell you
164 anything either. Nor is it clear what features have to do with "common
165 sense" or discipline."
166
167acme
168
169 "THERE IS NO 'no common::sense'!!!! !!!! !!"
170
171crab
172
173 "i wonder how it would be if joerg schilling wrote perl modules."
174
175H.Merijn Brand
176
177 "Just one more reason to drop JSON::XS from my distribution list"
178
179apeiron
180
181 "... wow"
182 "I hope common::sense is a joke."
116 183
117=head1 AUTHOR 184=head1 AUTHOR
118 185
119 Marc Lehmann <schmorp@schmorp.de> 186 Marc Lehmann <schmorp@schmorp.de>
120 http://home.schmorp.de/ 187 http://home.schmorp.de/
121 188
122 Robin Redeker, "<elmex at ta-sa.org>". 189 Robin Redeker, "<elmex at ta-sa.org>".
123 190
124
125=cut 191=cut
126 192

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines