[Catalyst] New class templates

Andy Grundman andy at hybridized.org
Fri Oct 21 14:34:53 CEST 2005

Frank Wiegand wrote:
> Sebastian Riedel schrieb:
>>>> MyApp->config( name => 'MyApp' );
>>> Why not __PACKAGE__ instead of MyApp?
>> Why?
> Because __PACKAGE__ always works, you don't have to s/MyApp/$MyApp/
> several times.

The helper script already replaces "MyApp" with whatever the name of 
your application is. :)


More information about the Catalyst mailing list