On Tue, Aug 25, 2009 at 11:55 AM, Evan Carroll <li...@evancarroll.com>wrote:

>
>
>> 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.
>

If it's a Moose class should you always use "extends" over both?

Hum, the CatalystAndMoose manual doesn't even show the application base
class inheriting:

http://search.cpan.org/~hkclark/Catalyst-Manual-5.8000/lib/Catalyst/Manual/CatalystAndMoose.pod#THE_CONTEXT_CLASS

Unlike in the Intro which shows "use parent."

(The CatAndMoose page also shows $app, which isn't defined).

Not sure if this is by design or not, but the application base class
automatically inherits from Catalyst and Catalyst::Controller.




-- 
Bill Moseley
mose...@hank.org
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to