Sophie

Sophie

distrib > PLD > th > ppc > by-pkgid > 4ee805c41d45ff44d3e4701ee8158fc9

perl-SUPER-1.17-1.noarch.rpm

Description:

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.

Sources packages:

Other version of this rpm: