Package : perl-parent > RPM : perl-parent-0.234.0-3.mga6.src.rpm
Basic items
Name | perl-parent |
Version | 0.234.0 |
Release | 3.mga6 |
URL | http://search.cpan.org/dist/parent |
Group | Development/Perl |
Summary | Establish an ISA relationship with base classes at compile time |
Size | 11KB |
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 6 |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2016-06-19 07:49:58 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |