[Dancer-users] Routes with captures

Alexis Sukrieh sukria at sukria.net
Tue Jun 1 15:44:10 CEST 2010


Le 01/06/2010 15:40, Marc Chantreux a écrit :
> On Tue, Jun 01, 2010 at 09:01:51AM +0200, Alexis Sukrieh wrote:
>> About the captures in splat (mentioned in another mail) I'm OK with it
>> but maybe splat isn't the appropriate accessor. It's intended to get all
>> anonymous captures as a list. Here we may want to add another keyword,
>> like "captures" for instance.
>>
>> Any thought about that?
>
> - agreed about another accessor.
> - lot of code makes reference to something else using the capture word
>    so i would choose another one.
> - perhaps a name which remains the perlvar documentation ( %+ =
>    %LAST_PAREN_MATCH)?
> - what about paren->  ?

I'd rather have "match" or "matches" here, it's more meaningful for a 
newcomer.

Yes, newcomers are a targeted audience for PerlDancer ;)


More information about the Dancer-users mailing list