[Dancer-users] Routes with captures

Marc Chantreux khatar at phear.org
Tue Jun 1 15:40:58 CEST 2010


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

regards
marc 


More information about the Dancer-users mailing list