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

perl-SUPER-1.20141117-1.22 RPM for noarch

From OpenSuSE Leap 15.3 for noarch

Name: perl-SUPER Distribution: SUSE Linux Enterprise 15
Version: 1.20141117 Vendor: SUSE LLC <https://www.suse.com/>
Release: 1.22 Build date: Fri May 25 20:19:55 2018
Group: Development/Libraries/Perl Build host: sheep61
Size: 31234 Source RPM: perl-SUPER-1.20141117-1.22.src.rpm
Packager: https://www.suse.com/
Url: http://search.cpan.org/dist/SUPER/
Summary: Control Superclass Method Dispatch
When subclassing a class, you occasionally want to dispatch control to the
superclass -- at least conditionally and temporarily. The Perl syntax for
calling your superclass is ugly and unwieldy:

    $self->SUPER::method(@_);

especially when compared to its Ruby equivalent:

    super;

It's even worse in that the normal Perl redispatch mechanism only
dispatches to the parent of the class containing the method _at compile
time_. That doesn't work very well for mixins and roles.

This module provides nicer equivalents, along with the universal method
'super' to determine a class' own superclass. This allows you to do things
such as:

    goto &{$_[0]->super('my_method')};

if you don't like wasting precious stack frames.

If you are using roles or mixins or otherwise pulling in methods from other
packages that need to dispatch to their super methods, or if you want to
pass different arguments to the super method, use the 'SUPER()' method:

    $self->SUPER( qw( other arguments here ) );

Provides

Requires

License

Artistic-1.0 or GPL-1.0+

Changelog

* Sat Aug 08 2015 coolo@suse.com
  - updated to 1.20141117
    see /usr/share/doc/packages/perl-SUPER/Changes
    1.20141117 2014-11-17 09:12:01-08:00 America/Los_Angeles
    - improved export mechanism
    - removed useless Exporter tests
    - improved docs (RT #79681)
    1.20141116 2014-11-16 14:07:18-08:00 America/Los_Angeles
    - resolved Test::More changes (RT #97939)
* Tue Jun 04 2013 coolo@suse.com
  - updated to 1.20120705
    - resolved PAUSE packaging nit (Oliver Mengué, RT #77110)
    - converted to dzil
* Tue Nov 30 2010 coolo@novell.com
  - switch to perl_requires macro
* Tue Aug 03 2010 chris@computersalat.de
  - initial package 1.17
    * created by cpanspec 1.78

Files

/usr/lib/perl5/vendor_perl/5.26.1/SUPER.pm
/usr/share/doc/packages/perl-SUPER
/usr/share/doc/packages/perl-SUPER/Changes
/usr/share/doc/packages/perl-SUPER/LICENSE
/usr/share/doc/packages/perl-SUPER/README
/usr/share/man/man3/SUPER.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 14:50:04 2024