-
-
05 Feb 2011 03:35:20 UTC
- Distribution: Class-Fields
- Module version: 0.06
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (1328 / 0 / 0)
- Kwalitee
Bus factor: 0- 78.80% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (15.32KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Michael G Schwern
- Dependencies
- Carp
- Carp::Assert
- Test::More
- base
- constant
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Take me over?
The maintainer of this distribution is looking for someone to take over! If you're interested then please contact them via email.NAME
Class::Fields::Inherit - Inheritance of %FIELDS
SYNOPSIS
use Class::Fields::Inherit; inherit_fields($derived_class, $base_class);
DESCRIPTION
A 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.
- inherit_fields
-
inherit_fields($derived_class, $base_class);
The $derived_class will inherit all of the $base_class's fields. This is a good chunk of what happens when you use base.pm.
AUTHOR
Michael G Schwern <schwern@pobox.com> largely from code liberated from fields.pm
SEE ALSO
Module Install Instructions
To install Class::Fields, copy and paste the appropriate command in to your terminal.
cpanm Class::Fields
perl -MCPAN -e shell install Class::Fields
For more information on module installation, please visit the detailed CPAN module installation guide.