Class::Method::hashClass::Method::hash is a Perl module that helps you create methods for handling a hash value. | |
Download |
Class::Method::hash Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Martyn J. Pearce
- Publisher web site:
- http://search.cpan.org/~fluffy/
Class::Method::hash Tags
Class::Method::hash Description
Class::Method::hash is a Perl module that helps you create methods for handling a hash value. Class::Method::hash is a Perl module that helps you create methods for handling a hash value.SYNOPSIS use Class::MethodMaker ]; $instance->x; # empty $instance->x(a => 1, b => 2, c => 3); $instance->x_count == 3; # true $instance->x = (b => 5, d => 8); # Note this *replaces* the hash, # not adds to it $instance->x_index('b') == 5; # true $instance->x_exists('c'); # false $instance->x_exists('d'); # trueCreates methods to handle hash values in an object. For a component named x, by default creates methods x, x_reset, x_clear, x_isset, x_count, x_index, x_keys, x_values, x_each, x_exists, x_delete, x_set, x_get. Requirements: · Perl
Class::Method::hash Related Software