classesfaq

classesfaq is a Perl module with frequently asked questions about the Perl classes pragma.
Download

classesfaq Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Robert S. Muhlestein
  • Publisher web site:
  • http://search.cpan.org/~rmuhle/classes-0.943/lib/classesfaq.pod

classesfaq Tags


classesfaq Description

classesfaq is a Perl module with frequently asked questions about the Perl classes pragma. classesfaq is a Perl module with frequently asked questions about the Perl classes pragma.Here are some key features of "classesfaq":· Compile-time classes, no base class required· Dynamic classes, alter or create at run-time· Attributes, class and object, private, read-only, public· Mixins, methods by name or regx, attributes also· Single and multiple inheritance· Accessors, optimized, overridable with read-only· Accessor dispatch methods set and get· Method declaration, delegation, ABSTRACT and EMPTY· Separate new and clone methods, overridable· Optional initialize method, aggregation· Utility methods: dump, load, CLASS, SUPER· Dynamically preserved declaration and mixin tracking· Simplified exceptions, one line exception classes with inheritance trees· Base exception class, light, robust, traceable· 8 reusable exception classes in X:: namespace· Compatible standard internals, easy porting, no surprisesWhat is the classes pragma?A simple, stable, fast, and flexible way to use Perl 5 classes. If you look at no other Perl OO module look at this one, really. If you have done OO in Perl you will find this comfortably familiar. If not you may save yourself time and pain learning the classes pragma first or as you learn Perl OO--many have already.Why should I use the classes pragma?· Relevant: fills real-world need for conventional Perl OO· Lazy: 100+ conventional lines reduced to 1· Simple: standard readable terms, UML friendly· Stable: 1000+ unit test points, used reliably in large applications· Portable: OS independent, single file, 100% pure perl· Fast: benchmarks faster or equal to the long way· Light: only standard deps, requires greater than 5.6.1· Sustainable: tag model, clean, commented· Open: Perl artistic license, multi-language friendly· Supported: mailing list, site, documented, actively maintainedIf for no other reason because it is a new approach.Requirements:· Perl


classesfaq Related Software