1Revision history for perl pragma common::sense. 2 3TODO: make it arch-specific? 4 53.6 Sun Jun 17 14:24:53 CEST 2012 6 - work around more 5.16 breakage - $^H doesn't work as nicely as 7 p5p make you to believe. 8 - add features: unicode_strings current_sub fc evalbytes. 9 - disable features: array_base. 10 113.5 Wed Mar 7 20:50:48 CET 2012 12 - localise $^W, as this causes warnings with 5.16 when some lost 13 soul uses -w. common::sense doesn't support $^W, but tries to 14 shield module authors and programs from its ill effects. If you 15 enable $^W, then you normally get to keep the pieces because you 16 change semantics of other people's code. 17 183.4 Fri Jan 14 07:17:16 CET 2011 19 - remove "regexp" category. this is rather painful as it's a large 20 class, but unfortunately, somebody thought emitting a warning when you 21 match more than 32kb of text is in some way useful, which spoils the whole 22 category. 23 - use META.json instead of META.yml - apparently YAML parsers don't actually 24 exist. 25 263.3 Fri Jul 2 22:40:14 CEST 2010 27 - removed "exiting" category - this is too useful to create new 28 control statements, and fails utterly with eval, as eval will 29 catch the (fatal) warning itself. Kind of hurts, but this is 30 just another warning category which is too broad and has to be 31 disabled fully because of a minority of issues. 32 333.2 Fri Apr 16 01:46:02 CEST 2010 34 - removed "substr" warning - while it overall is a good category, 35 "substr '', 2" is entirely sensible. 36 373.1 Sat Apr 3 04:56:36 CEST 2010 38 - removed "parenthesis" warning: 39 sysread $fh, my $buf, -s $fh; # ok 40 sysread $fh, my $buf, $size; # warning 41 Made no sense to me, especially as $size is in scope. 42 - no longer hardcode warning/struct bits, calculate them at 43 installation time, for when I will no longer be alive etc. 44 - tweaked documentation. 45 463.0 Tue Dec 15 03:24:28 CET 2009 47 - enable "use utf8" effect by default. 48 - removed "utf8" warning category. while this contains useful security 49 stuff, it also makes implementing security stuff almost impossible, 50 as it completely mangles perls internal utf8 encoding with actual 51 utf-8 encoding, and confuses "unicode", "string codepoints" and 52 "utf-8" so much that it becoems practically unusable. 53 542.03 Wed Dec 2 18:38:53 CET 2009 55 - removed "unopened" warning category, as this breaks "stat _", which 56 seems to be a bug in all perl versions (see perlbug #71002). 57 - some doc updates. 58 592.02 Wed Nov 4 12:04:08 CET 2009 60 - no functional changes. 61 - add META.yml clarification to the faq, tune the docs a bit 62 and add a "much reduced typing" section. 63 - unfortunately, the tone of the manpage has tightened and is 64 more serious in many parts now. We consider this a bug that we 65 plan to fix before 2100. 66 672.01 Mon Oct 5 17:01:48 CEST 2009 68 - add a FAQ section. 69 - use a more future-proof way to set the warning mask. 70 712.0 Tue Sep 1 20:28:25 CEST 2009 72 - codename "fatality", now with big doses of... fatality. 73 - enabled an enourmous number of warnings and made them FATAL, 74 as warned about in earlier releases. Of course we carefully 75 tested the new warnings against our modules, as mentioned 76 in the manpage, too. 77 781.0 Sat Aug 22 22:08:50 CEST 2009 79 - no functional changes. 80 - really, the first version of common sense! 81 - slightly improved documentation. 82 - forgot to include license. 83 840.04 Sun Aug 2 10:29:23 CEST 2009 85 - added "what others..." section. 86 - reinforce attempt at world domination. 87 880.03 Thu Jul 9 20:16:33 CEST 2009 89 - first public release, written on the Piratenstammtisch 90 (http://wiki.piratenpartei.de/Stammtisch_Karlsruhe). 91 920.01 Thu Jul 9 17:48:00 CEST 2009 93 - original version; cloned from Convert::Scalar. 94 95