mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-07 02:06:57 +00:00
afb9442d16
from those modules at the same time. Mostly similar in effect to package Baz; BEGIN { require Foo; require Bar; push @ISA, qw(Foo Bar); } WWW: http://search.cpan.org/dist/parent/
12 lines
291 B
Plaintext
12 lines
291 B
Plaintext
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);
|
|
}
|
|
|
|
WWW: http://search.cpan.org/dist/parent/
|