base

base

NAME

base - Establish an ISA relationship with base classes at compile time

SYNOPSIS

package Baz;
use base qw(Foo Bar);

DESCRIPTION

Unless you are using the fields pragma, consider this module discouraged in favor of the lighter-weight parent .

Allows you to both load one or more modules, while setting up inheritance from those modules at the same time. Roughly similar in effect to

登录查看完整内容