SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-common-sense rpm build for : OpenSuSE. For other distributions click perl-common-sense.

Name : perl-common-sense
Version : 3.75 Vendor : obs://build_opensuse_org/home:interstar001
Release : 2.1 Date : 2020-10-03 22:47:13
Group : Development/Libraries/Perl Source RPM : perl-common-sense-3.75-2.1.src.rpm
Size : 0.04 MB
Packager : (none)
Summary : Save a tree AND a kitten, use common::sense!
Description :
“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.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/interstar001:/Centreon/SLE_15_SP2/x86_64

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-common-sense-3.75-2.1.x86_64.rpm
ftp.icm.edu.pl  perl-common-sense-3.75-2.1.x86_64.rpm
ftp.icm.edu.pl  perl-common-sense-3.75-2.1.x86_64.rpm
ftp.icm.edu.pl  perl-common-sense-3.75-2.1.x86_64.rpm
ftp.icm.edu.pl  perl-common-sense-3.75-2.1.x86_64.rpm
ftp.icm.edu.pl  perl-common-sense-3.75-2.1.x86_64.rpm
ftp.icm.edu.pl  perl-common-sense-3.75-2.1.x86_64.rpm
ftp.icm.edu.pl  perl-common-sense-3.75-2.1.x86_64.rpm
ftp.icm.edu.pl  perl-common-sense-3.75-2.1.x86_64.rpm
ftp.icm.edu.pl  perl-common-sense-3.75-2.1.x86_64.rpm
     

Provides :
perl(common::sense)
perl-common-sense
perl-common-sense(x86-64)

Requires :
perl = 5.26.1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/common
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/common/sense
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/common
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/common/sense.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-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

 
ICM
This page is using cookies. Read moreOK, I understand