« Return to Thread: uri_for() corrupts query parameters hash for caller

Re: RE: uri_for() corrupts query parameters hash for caller

by Tomas Doran :: Rate this Message:

Reply to Author | View in Thread

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


_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/

 « Return to Thread: uri_for() corrupts query parameters hash for caller