in reply to Re: Re: Modify array elements inside for loops
in thread Modify array elements inside for loops

Oops ! You're right I feel so ashamed...
:-(

of course
for my $e (local @a=@a) {
is too ugly to be used, mirod did it the right way anyway...

UPDATE : Mirod, arturo, and you (merlyn) did it the right wayS (TIMTOWTDI)
I still wonder how I managed to get a so poor solution with so many good ways laying in front of me.
(Who said half-brained ?!?)