|laziness, impatience, and hubris|
How to declare variables per loopby Anonymous Monk
|on Oct 11, 2011 at 13:46 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I need to declare a lot of variables in the following way:
I thought if it were possible to initialize the variables per loop. My knowledge in Perl however is definitely not good enough to manage this.
I tried it like this:
but it seems to be fundamentally wrong.
Could you give me an advice?
Thanks in advance.