in reply to Assigning elements of an array to scalars
Formatting issues aside, what you're asking doesn't really make much sense. The usual admonition is to go the other way instead; e.g. if you've got $stuff1, $stuff2, etc. it's a good indication that you really should have them all in an array @stuff instead of having separate variables. See MJD's Why it's stupid to `use a variable as a variable name' for more discussion (although that's more on hashes rather than arrays the concept's the same).
|
|---|