[cgiapp] draft version of "PSGI::Application" and load_tmpl replacement

Mark Stosberg mark at summersault.com
Tue Nov 6 13:36:07 EST 2012


On 11/06/2012 12:27 PM, Kurt Lidl wrote:
> On 11/6/2012 12:24 PM, Mark Stosberg wrote:
> 
>>>> * Hash keys for new() must now be upper-case now.
>>>
>>> Ridiculous. Lower case hash keys are the norm throughout Perl.
>>>
>>> Upper case is SHOUTING.
>>
>> I agree that lower case hash keys are the norm and upper case hash keys
>> are shouting. The choice here weas a nod to compatibility with
>> CGI::Application, which internally was case-insensitive, but by
>> convention, everyone has been using the upper-case keys.
>>
>> I'm open to reconsidering this point as well, as I would prefer
>> lower case going forward myself. Perhaps the upper-case support can be
>> pushed into a ::Compat transitional module.
> 
> I'd vote for lower-casing them, if you're looking for feedback.

I am looking for feedback. Thanks for the opinion.

   Mark



More information about the cgiapp mailing list