| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: perl-common-sense | Distribution: openSUSE Tumbleweed |
| Version: 3.750.0 | Vendor: openSUSE |
| Release: 1.4 | Build date: Thu Feb 6 23:23:25 2025 |
| Group: Unspecified | Build host: reproducible |
| Size: 39510 | Source RPM: perl-common-sense-3.750.0-1.4.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://metacpan.org/release/common-sense | |
| Summary: Save a tree AND a kitten, use common::sense! | |
“Nothing is more fairly distributed than common sense: no one thinks he needs more of it than he already has.” – René Descartes This module implements some sane defaults for Perl programs, as defined by two typical (or not so typical - use your common sense) specimens of Perl coders. In fact, after working out details on which warnings and strict modes to enable and make fatal, we found that we (and our code written so far, and others) fully agree on every option, even though we never used warnings before, so it seems this module indeed reflects a "common" sense among some long-time Perl coders. The basic philosophy behind the choices made in common::sense can be summarised as: "enforcing strict policies to catch as many bugs as possible, while at the same time, not limiting the expressive power available to the programmer". Two typical examples of how this philosophy is applied in practise is the handling of uninitialised and malloc warnings: * _uninitialised_ 'undef' is a well-defined feature of perl, and enabling warnings for using it rarely catches any bugs, but considerably limits you in what you can do, so uninitialised warnings are disabled. * _malloc_ Freeing something twice on the C level is a serious bug, usually causing memory corruption. It often leads to side effects much later in the program and there are no advantages to not reporting this, so malloc warnings are fatal by default. Unfortunately, there is no fine-grained warning control in perl, so often whole groups of useful warnings had to be excluded because of a single useless warning (for example, perl puts an arbitrary limit on the length of text you can match with some regexes before emitting a warning, making the whole 'regexp' category useless). What follows is a more thorough discussion of what this module does, and why it does it, and what the advantages (and disadvantages) of this approach are.
Artistic-1.0 OR GPL-1.0-or-later
* Thu Feb 06 2025 Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
* Fri Apr 03 2020 <timueller+perl@suse.de>
- updated to 3.75
see /usr/share/doc/packages/perl-common-sense/Changes
3.75 Thu Apr 2 09:53:01 CEST 2020
- make build (more) reproducible.
- removed "portable" from the warnngs list, as 32 bit perls (as
opposed to 32 bit platforms) are practically extinct and it
warns about a weird subset of operations, i.e. 64 bit hex() is
not ok, 64 bit addition is fine, makes no sense. Moreso, other
than hex/oct etc. harassment, there is nothing in this category
that could be otherwise useful.
* Thu Jul 02 2015 coolo@suse.com
- updated to 3.74
see /usr/share/doc/packages/perl-common-sense/Changes
3.74 Mon Jun 29 14:39:26 CEST 2015
- the generated README file was empty.
* Tue Apr 14 2015 coolo@suse.com
- updated to 3.73
see /usr/share/doc/packages/perl-common-sense/Changes
3.73 Sat May 31 22:37:21 CEST 2014
- remove "deprecated", as it turned out to be yet another time bomb
as p5p don't care the least about backwards compatibility
anymore (https://rt.perl.org/Public/Bug/Display.html?id=119123).
- switching paths once more as this turned out to be a doc bug
in eumm. this should not affect anything though.
* Sun Aug 04 2013 coolo@suse.com
- updated to 3.72
- install paths were wrong for current MakeMaker (reported
by various people).
- CPAN failed to parse the version number in 3.7, try to work
around.
- move pod to separate file, to further improve loading times.
- make it arch-specific, adding a test that warns when an old
version is still installed.
- due to a logic glitch, warnings were not enabled at all on 5.16.
* Sat Jun 15 2013 coolo@suse.com
- updated to 3.6
- work around more 5.16 breakage - $^H doesn't work as nicely as
p5p make you to believe.
- add features: unicode_strings current_sub fc evalbytes.
- disable features: array_base.
* Wed May 23 2012 coolo@suse.com
- updated to 3.5
- localise $^W, as this causes warnings with 5.16 when some lost
soul uses -w. common::sense doesn't support $^W, but tries to
shield module authors and programs from its ill effects. If you
enable $^W, then you normally get to keep the pieces because you
change semantics of other people's code.
* Fri Mar 04 2011 chris@computersalat.de
- update to 3.4
- remove "regexp" category. this is rather painful as it's a large
class, but unfortunately, somebody thought emitting a warning when
you match more than 32kb of text is in some way useful, which
spoils the whole category.
- use META.json instead of META.yml - apparently YAML parsers don't
actually exist.
- recreated by cpanspec 1.78.03
* Tue Nov 30 2010 coolo@novell.com
- switch to perl_requires macro
* Tue Jul 06 2010 chris@computersalat.de
- update tp 3.3
- removed "exiting" category - this is too useful to create new
control statements, and fails utterly with eval, as eval will
catch the (fatal) warning itself. Kind of hurts, but this is
just another warning category which is too broad and has to be
disabled fully because of a minority of issues.
- noarch package
o remove .packlist/perllocal.pod
/usr/lib/perl5/vendor_perl/5.42.0/ppc64le-linux-thread-multi/auto/common /usr/lib/perl5/vendor_perl/5.42.0/ppc64le-linux-thread-multi/auto/common/sense /usr/lib/perl5/vendor_perl/5.42.0/ppc64le-linux-thread-multi/common /usr/lib/perl5/vendor_perl/5.42.0/ppc64le-linux-thread-multi/common/sense.pm /usr/lib/perl5/vendor_perl/5.42.0/ppc64le-linux-thread-multi/common/sense.pod /usr/share/doc/packages/perl-common-sense /usr/share/doc/packages/perl-common-sense/Changes /usr/share/doc/packages/perl-common-sense/README /usr/share/licenses/perl-common-sense /usr/share/licenses/perl-common-sense/LICENSE /usr/share/man/man3/common::sense.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Oct 19 22:42:15 2025