|The stupid question is the question not asked|
Referencing the localsby Chuma (Scribe)
|on Apr 28, 2021 at 18:16 UTC||Need Help??|
Chuma has asked for the wisdom of the Perl Monks concerning the following question:
I'm having some trouble with referencing local variables. Simplified example:
What is this madness, and how do I make it stop?
The typical case where I want to use it is when I have a handful of arrays and want to do stuff with each of them, like so:
which works fine as long as the arrays are global, but if they're local, it doesn't work. How can I reference the local ones?