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

Byron Young Byron.Young at riverbed.com
Tue Jun 30 00:41:21 GMT 2009

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!


More information about the Catalyst mailing list