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.6 by root, Thu Jul 9 18:09:08 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
126C<say> or so with perls older than 5.10 (this module, of course, should 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 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 128sense at this time. Maybe not in the future, but of course you can trust
129our common sense). 129our common sense).
130 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."
183
131=head1 AUTHOR 184=head1 AUTHOR
132 185
133 Marc Lehmann <schmorp@schmorp.de> 186 Marc Lehmann <schmorp@schmorp.de>
134 http://home.schmorp.de/ 187 http://home.schmorp.de/
135 188
136 Robin Redeker, "<elmex at ta-sa.org>". 189 Robin Redeker, "<elmex at ta-sa.org>".
137 190
138
139=cut 191=cut
140 192

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines