> > > I know that the recommendation could be to use Moose and "extends...", but > if Moose is not needed, what's the difference between use parent and use > base? >
per base.pm Unless you are using the fields pragma, consider this module discouraged in favor of the lighter-weight parent. per parent.pm This module was forked from base <http://search.cpan.org/perldoc?base> to remove the cruft that had accumulated in it. It also seems as if parent.pm has a '-norequire' field. > > When should be "use parent" be used and not "use base" or it really doesn't > matter which one is used? > > parent.pm when you can use cpan, base.pm when you can't. -- Evan Carroll www.evancarroll.com System Lord of the Internets
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
