Bug 6554 Fix error caused by modifying $_ in a map
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 4 Apr 2013 09:54:03 +0000 (10:54 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 18 Apr 2013 13:29:40 +0000 (09:29 -0400)
commit32a0703092172e9dc92624bbc8a5649e05a79929
treec59facc7c04d3d20fcafadcadcc2b199a8e0ccf5
parent63167c7ff86c1d469e9b012cb609ddc6bee9063e
Bug 6554 Fix error caused by modifying $_ in a map

Error 'Modification of a read-only value attempted' triggered
on login because of manipulation of $_ in the map

Moved the mod to a loop as recommended in the doc for map

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit e98fe7e32244fa11d218b4d2a1006eea547e70d8)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Context.pm