http://qs321.pair.com?node_id=128944


in reply to Dynamically allocating variables

Instead of trying to use variable as variable names (as you are suggesting), you should use data structures. See also perldsc. (update: Of course, Fastolfe beat me to referencing this document.)

There is a reason that perl does not let you use variables as variable names under strict; it is not an arbitrary requirement. See this set of articles for reasons why and examples of code transformed from using a variable as a variable name to not doing so.