Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-common-sense-3.74-lp152.3.2 RPM for aarch64

From OpenSuSE Ports Leap 15.2 for aarch64

Name: perl-common-sense Distribution: openSUSE Leap 15.2
Version: 3.74 Vendor: openSUSE
Release: lp152.3.2 Build date: Thu Nov 7 20:51:08 2019
Group: Development/Libraries/Perl Build host: obs-arm-8
Size: 38971 Source RPM: perl-common-sense-3.74-lp152.3.2.src.rpm
Packager: https://bugs.opensuse.org
Url: http://search.cpan.org/dist/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.

Provides

Requires

License

GPL-1.0+ or Artistic-1.0

Changelog

* 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
* Fri Apr 16 2010 chris@computersalat.de
  - update to 3.2
    - removed "substr" warning - while it overall is a good category,
      "substr '', 2" is entirely sensible.
  - 3.1  Sat Apr  3 04:56:36 CEST 2010
    - removed "parenthesis" warning:
      sysread $fh, my $buf, -s $fh; # ok
      sysread $fh, my $buf, $size;  # warning
      Made no sense to me, especially as $size is in scope.
    - no longer hardcode warning/struct bits, calculate them at
      installation time, for when I will no longer be alive etc.
    - tweaked documentation.
  - fixed perl-macros deps
* Mon Jan 18 2010 jw@novell.com
  - update to 3.0, as suggested by JSON::XS

Files

/usr/lib/perl5/vendor_perl/5.26.1/aarch64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.26.1/aarch64-linux-thread-multi/auto/common
/usr/lib/perl5/vendor_perl/5.26.1/aarch64-linux-thread-multi/auto/common/sense
/usr/lib/perl5/vendor_perl/5.26.1/aarch64-linux-thread-multi/common
/usr/lib/perl5/vendor_perl/5.26.1/aarch64-linux-thread-multi/common/sense.pm
/usr/lib/perl5/vendor_perl/5.26.1/aarch64-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/LICENSE
/usr/share/doc/packages/perl-common-sense/README
/usr/share/man/man3/common::sense.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat Mar 9 12:07:01 2024