Package : perl-parent
Package details
Summary: Establish an ISA relationship with base classes at compile time
Description:
Allows you to both load one or more modules, while setting up inheritance from
those modules at the same time. Mostly similar in effect to
package Baz;
BEGIN {
require Foo;
require Bar;
push @ISA, qw(Foo Bar);
}
By default, every base class needs to live in a file of its own.
If you want to have a subclass and its parent class in the same file, you
can tell C<parent> not to load any modules by using the C<-norequire> switch:
URL: http://search.cpan.org/dist/parent
License: GPL+ or Artistic
Maintainer: nobody
Description:
Allows you to both load one or more modules, while setting up inheritance from
those modules at the same time. Mostly similar in effect to
package Baz;
BEGIN {
require Foo;
require Bar;
push @ISA, qw(Foo Bar);
}
By default, every base class needs to live in a file of its own.
If you want to have a subclass and its parent class in the same file, you
can tell C<parent> not to load any modules by using the C<-norequire> switch:
URL: http://search.cpan.org/dist/parent
License: GPL+ or Artistic
Maintainer: nobody
List of RPMs
- perl-parent-0.225.0-2.mga2.noarch.rpm (Mageia 2, i586 media, core-release) Install