|
NAMEClass::Fields::Inherit - Inheritance of %FIELDS SYNOPSIS use Class::Fields::Inherit;
inherit_fields($derived_class, $base_class);
DESCRIPTIONA simple module to handle inheritance of the %FIELDS hash. base.pm is usually its only customer, though there's nothing stopping you from using it.
AUTHORMichael G Schwern <schwern@pobox.com> largely from code liberated from fields.pm SEE ALSObase, Class::Fields
|