[Catalyst] RE: uri_for() corrupts query parameters hash for caller

Tomas Doran bobtfish at bobtfish.net
Tue Jun 30 00:32:40 GMT 2009


On 30 Jun 2009, at 00:31, Byron Young wrote:
>  If you don't mind, though, can you explain what you mean about the  
> 'unsafe each'?

If your application code half iterates through the params hash with  
each before calling uri_for, then the param copy would only copy the  
second half of the hash (as each has an internal iterator).

Cheers
t0m




More information about the Catalyst mailing list