yxc has asked for the wisdom of the Perl Monks concerning the following question:

Hello all,

Could any one have any idea or notice if there is any quick fix of how I can duplicate the unsupported component (slot) types in version 2 (i.e. hash_of_lists) for the Class::MethodMaker module?

We recently have the module upgraded from 1.12 to 2.10 and the script returns the error below when we check for the syntax.
meta-method type hash_of_lists not recognized as a V1 compatibility type
(cannot mix v1 & v2 options)
at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Class/MethodMaker.pm line 20

Any help would be greatly appreciated!
  • Comment on Workaround for the unsupported type (e.g. hash_of_lists) for V2 Class::MethodMaker