Class::MethodMaker::V1Compat

Class::MethodMaker::V1Compat is a V1 compatibility code for C::MM.
Download

Class::MethodMaker::V1Compat Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Martyn J. Pearce
  • Publisher web site:
  • http://search.cpan.org/~fluffy/

Class::MethodMaker::V1Compat Tags


Class::MethodMaker::V1Compat Description

Class::MethodMaker::V1Compat is a V1 compatibility code for C::MM. Class::MethodMaker::V1Compat is a V1 compatibility code for C::MM.SYNOPSISThis class is for internal implementation only. It is not a public API.Class::MethodMaker version 2 strives for backward-compatiblity with version 1 as far as possible. That is to say, classes built with version 1 should work with few if any changes. However, the calling conventions for building new classes are significantly different: this is necessary to achieve a greater consistency of arguments.Version 2 takes all arguments within a single arrayref: use Class::MethodMaker ;If arguments are presented as a list, then Class::MethodMaker assumes that this is a version 1 call, and acts accordingly. Version 1 arguments are passed and internally rephrased to version 2 arguments, and passed off to the version 2 engine. Thus, the majority of version 1 calls can be upgraded to version 2 merely by rephrasing. However, there are a number of behaviours that in version 1 that are internally inconsistent. These behaviours are mimicked in version 1 mode as far as possible, but are not reproducible in version 2 (to allow version 2 clients to rely on a more internally consistent interface). Requirements: · Perl


Class::MethodMaker::V1Compat Related Software