Package : perl-parent > RPM : perl-parent-0.237.0-1.mga7.src.rpm
Basic items
Name | perl-parent |
Version | 0.237.0 |
Release | 1.mga7 |
URL | http://search.cpan.org/dist/parent |
Group | Development/Perl |
Summary | Establish an ISA relationship with base classes at compile time |
Size | 14KB |
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 7 |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2018-12-31 18:42:19 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |