more useful options | |
PerlMonks |
Re^11: Variable number of foreach loopsby BrowserUk (Patriarch) |
on Nov 29, 2013 at 08:54 UTC ( [id://1064920]=note: print w/replies, xml ) | Need Help?? |
Had the question been phrased as: I have a fixed number of arrays to permute, but I want to be able to pick a (sub)selection of those arrays at runtime using a string argument. Then I might have come up with something like: <Reveal this spoiler or all in this thread>
But then, if you'd taken the time to understand what you were trying to do, enough that you could express it clearly, you could probably have arrived at the solution yourself. FWIW: The problem you are having has little or nothing to do with how to call a subroutine, and everything to do with how to use or avoid symbolic references. (Read all three parts!) With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|