Package : perl-parent > RPM : perl-parent-0.238.0-3.mga9.src.rpm
Basic items
Name | perl-parent |
Version | 0.238.0 |
Release | 3.mga9 |
URL | https://metacpan.org/release/parent |
Group | Development/Perl |
Summary | Establish an ISA relationship with base classes at compile time |
Size | 15KB |
Arch | noarch |
License | GPL+ or Artistic |
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:
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:
Media information
Distribution release | Mageia cauldron |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2022-03-21 05:08:34 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |