[Catalyst] New class templates

Sebastian Riedel sri at oook.de
Fri Oct 21 13:19:25 CEST 2005


Am 21.10.2005 um 12:45 schrieb Frank Wiegand:

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

Pardon my ignorance, but why would you do that?


--
sebastian




More information about the Catalyst mailing list