On 2004-09-16, Michael Peters <[EMAIL PROTECTED]> wrote:
>> Question: What happens if you model is named:
>> 
>> My::CamelCaps
>> 
>> Will it figure out that I mean
>> 
>> "CamelCaps" and not "Camelcaps" ?
>
> Nope. If you can think of a good way for this to happen then I'm all
> ears. Maybe there could be another parameter or hook to customize the
> ucfirst behaviour that I'm doing.
>
>> Also, what about the edge case of having a module name 
>> with an underscore in it? 
>
> This also won't work currently. If you think it's worth it then maybe we
> can introduce another paramter/hook for this too.

What about supporting a more direct format, 

like /My-CamelCaps/

I don't think a dash is a valid option in a module name, so it should
work fine here. This should allow support for any module names.

It seems like it would be possible to also support your current style,
which would continue to work well for most cases.

        Mark

-- 
http://mark.stosberg.com/ 


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to