[Dancer-users] Routes with captures

Marc Chantreux khatar at phear.org
Mon May 31 20:18:22 CEST 2010


On Mon, May 31, 2010 at 10:20:48PM +1000, Daniel Pittman wrote:
> >     r('/stuff/(.*+))
> >     qr/\/stuff\/(.*+)/
> Er, isn't 'r' it literally identical to 'qr(/stuff/(.*+))' in this case?

yes it is! plus: you don't have to know what r() do: qr is just a perl
operator. 

> > So I would vote for applying your patch, but without replacing r('') which
> > has a good reason to live, I think.
> 
> The only really good reason I can see, right now, is backward compatibility,

+1 

marc 


More information about the Dancer-users mailing list