Maybe a misunderstanding, in the OP you were trying to localize package vars in a loop, this can't be done because of the loop scope.
But of course you are free to initialize the vars in a loop or a list assign _after_ you localized them.
Cheers Rolf
In reply to Re^5: Local $$_?
by LanX
in thread Local $$_?
by expresspotato
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |