Yes, according to use strict:
Can't use string ("a1") as a SCALAR ref while "strict refs" in use at ./foo line 10.
That's not to say that you can't make it work that way, but it's really not a very good idea. As others have mentioned, arrays or a hash of arrays would be a much, much cleaner (and safer!) way to accomplish what you appear to be doing.
In reply to Re: for loop help
by dsheroh
in thread for loop help
by rhxk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |