NAME
PXP::ExtensionPointClass - Basic logic and Mandatory interfaces for L<PXP::ExtensionPoint>s.
SYNOPSIS
use base qw(PXP::ExtensionPointClass);
...
# overload basic methods
sub register {
}
DESCRIPTION
The PXP::ExtensionPointClass helps implement new ExtensionPoint
s. It provides basic methods and logic for dealing with Extensions
.
- register
-
The register method is called by
Extension
s to add themselves to the extension directory maintained by theExtensionPoint
.An
ExtensionPoint
must overload this method, use its own data structure and check that only valid extensions try to register.Return 'undef' if the extension is invalid.
Return the extension itself if it has been successfully added to the internal registry.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 47:
'=item' outside of any '=over'
=over without closing =back