[Catalyst] TIP: resolv uri based on delta params

Matt S Trout dbix-class at trout.me.uk
Sun Dec 17 14:10:45 GMT 2006


On 15 Dec 2006, at 10:40, Dan Dascalescu wrote:

>> to summarize:
>>
>> <a href="[% c.request.uri_with( page => pager.next_page ) %]">Next  
>> Page</a>
>
> Funny that Catalyst::Enzyme reinvented the wheel, too:
> http://search.cpan.org/dist/Catalyst-Enzyme/lib/Catalyst/Enzyme/ 
> CRUD/View.pm#%24c-%3Ethis_request_except(%25new_params)

I strongly suspect that was written before uri_with was. Whether it  
formed part of the inspiration for it I couldn't say.

-- 
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for  
Catalyst,
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for  
details.
+ Help us build a better perl ORM: http://dbix- 
class.shadowcatsystems.co.uk/ +





More information about the Catalyst mailing list