[Catalyst] New class templates

Sebastian Riedel sri at oook.de
Fri Oct 21 12:29:39 CEST 2005


Am 21.10.2005 um 11:58 schrieb Frank Wiegand:
>> package MyApp;
>>
>> use strict;
>>
>
> Why not 'use warnings'?

I tend not to use warnings on production systems, script/ 
myapp_server.pl uses perl -w...

>
>
>> # Configure the application
>> MyApp->config( name => 'MyApp' );
>>
>
> Why not __PACKAGE__ instead of MyApp?

Why?

>
>
>> # Start the application
>> MyApp->setup;
>>
>
> Same.

Same.

>
>
>> This library is free software . You can redistribute it and/or modify
>>
>                                ^ unnecessary space

Will be fixed.

>
>> it under the same terms as perl itself.
>>
>                              ^
> I think it's 'Perl', not 'perl'.

"perl" is the executable, so it's ok to use too, but i'll change it.

>
> See perlartistic:
>
> "... It is also one of the two licenses Perl allows itself to be
> redistributed and/or modified ..."



--
sebastian




More information about the Catalyst mailing list