Class::BuildMethodsLightweight implementation-agnostic generic methods | |
Download |
Class::BuildMethods Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Curtis Poe
- Publisher web site:
- http://search.cpan.org/~ovid/
Class::BuildMethods Tags
Class::BuildMethods Description
Lightweight implementation-agnostic generic methods Class::BuildMethods is a Perl module that allows you to quickly add simple getter/setter methods to your classes with optional default values and validation. We assume no implementation for your class, so you may use a standard blessed hashref, blessed arrayref, inside-out objects, etc. This module does not alter anything about your class aside from installing requested methods and optionally adding a DESTROY method. See "CLEANING UP" for more information, particularly the destroy method.SYNOPSIS use Class::BuildMethods 'name', rank => { default => 'private' }, date => { validate => &valid_date }; Requirements: · Perl
Class::BuildMethods Related Software