Users porting from the v1 versions of Class::MethodMaker would do well to observe the following:
This class method is deprecated. It was a way round the fact the C::MM works out what class to create methods in by looking up the calling stack. It is unfortunate, for the first C::MM class in the calling stack that sets ima_method_maker to be false gets the method --- that may not be what is wanted (i.e., if one derived class calls another for C::MM work).
By calling create_methods, the target class may is explicitly specified in the argument list.
Email the development mailing-list
Martyn J. Pearce
Steffen Schwigon (Co-Maintainer) Jens Rehsack Lubomir Rintel
Copyright (c) 2001--2009 Martyn J. Pearce. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.