Class::Field

Class Field Accessor Generator
Download

Class::Field Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ingy d%uFFFDt Net
  • Publisher web site:
  • http://search.cpan.org/~ingy/

Class::Field Tags


Class::Field Description

Class Field Accessor Generator lass::Field is a Perl module that exports two subroutines, field and const.C These functions are used to declare fields and constants in your class.Class::Field generates custom code for each accessor that is optimized for speed.SYNOPSIS package Thing; use Class::Field qw'field const'; field 'this'; field 'list' => []; field 'map' => {}; field 'that', -init => '$self->setup_that'; field 'circular_ref' => -weaken; const 'answer' => 42; Requirements: · Perl


Class::Field Related Software