in reply to Array loops and assignments
the following works under no strict 'refs'
DB<109> $var="var";$id=0 => 0 DB<110> ${$var.$id}=42 => 42 DB<111> $var0 => 42
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?
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|