in reply to Re^4: Local $$_?
in thread Local $$_?

> You're correct in assuming this will be used in a loop.

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