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

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

by Byron Young-3 :: Rate this Message:

Reply to Author | View in Thread

Tomas Doran wrote on 2009-06-29:

> 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

Ah, makes sense.  Learn something new every day!

Thanks!
Byron

_______________________________________________
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