|Welcome to the Monastery|
Re: Array loops and assignments (symbolic references)by LanX (Chancellor)
|on Jul 07, 2013 at 18:37 UTC||Need Help??|
Thats a FAQ and IMHO 99% of the cases of assignments to symbolic references in Perl are a result of weak code design (sorry!)
the following works under no strict 'refs'
Are you sure you need that? Be warned about the consequences!
Older discussions regarding 'no strict refs' might help you getting an insight why.
Are you aware of the concept of hashes?
( addicted to the Perl Programming Language)