The Sun::Solaris::Exacct::Catalog module provides a wrapper around the 32-bit integer used as a catalog tag. The catalog tag is represented as a Perl object blessed into the Sun::Solaris::Exacct::Catalog class. Methods can be used to manipulate fields in a catalog tag.
All the EXT_*, EXC_* and EXD_* macros are extracted during the module build process from the /usr/include/sys/exact_catalog.h file and are provided as constants. Constants passed to the Sun::Solaris::Exacct::Catalog methods can either be an integer value, such as EXT_UINT8, or the string representation of the same variable, such as “EXT_UINT8”.
The Perl extensions to the libexacct(3LIB) API provide the following class methods forSun::Solaris::Exacct::Catalog. Exacct(3PERL) andExacct::Catalog(3PERL)
register |
new |
The Perl extensions to the libexacct(3LIB) API provide the following object methods for Sun::Solaris::Exacct::Catalog.
value |
type |
catalog |
id |
type_str |
catalog_str |
id_str |
By default, nothing is exported from this module. The following tags can be used to selectively import constants and functions defined in this module.
Tag |
Constant or Function |
---|---|
:CONSTANTS |
EXT_*, EXC_* and EXD_*. |
:ALL |
:CONSTANTS |
Additionally, any constants defined with the register() function can optionally be exported into the caller's package.