Hi,

>From the base.pm documentation<http://perldoc.perl.org/base.html#DESCRIPTION>:


Unless you are using the fields pragma, consider this module discouraged in
favor of the lighter-weight parent .

>From the parent.pm documentation<http://perldoc.perl.org/parent.html#HISTORY>
:

This module was forked from base to remove the cruft that had accumulated
in it.

parent.pm is a 30 lines pure Perl dual module available also in core since
5.10.1.


So I've done the work to replace all "use base" with either "use parent" or
"use parent -norequire => ". Most changes are in lib/Class/ and t/.
The code is here:
https://github.com/dolmen/p5-Moose/commits/topic/base-to-parent
(branch topic/base-to-parent at git://github.com/dolmen/p5-Moose.git)

I've yet not touched the 'benchmark' directory to avoid breaking reference
values. Tell me if I should go further...

Olivier Mengué (DOLMEN).

Reply via email to