Thanks for your input, I agree that you should not create dynamic variables. My wording was a little off on that one. What I need is a list of the object references to the new objects for manipulation later in the program. That is the main reason I cannot perform the work in just one loop.
As was mentioned above, I think storing the object referneces in a hash would be a good idea.
In reply to Re: Re: dynamically creating variables named after the contents of an array
by gnu@perl
in thread dynamically creating variables named after the contents of an array
by gnu@perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |