in reply to Re^2: Using variables in array names
in thread Using variables in array names
Beg all you want. You won't get any... :)
Using hash keys with variable names is so much safer than using symbolic references. The biggest problem with symbolic references is polluting the package namespace.
If you have a data structure with elements whose name is only going to be known at runtime, you have little choice but to use a hash. It's the "right" data structure to use. You have to be responsible for the integrity of the way you manage your keys.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Using variables in array names
by Anonymous Monk on Aug 05, 2005 at 13:42 UTC | |
by herveus (Prior) on Aug 05, 2005 at 13:57 UTC | |
by Anonymous Monk on Aug 05, 2005 at 14:19 UTC | |
by blazar (Canon) on Aug 05, 2005 at 14:45 UTC | |
by herveus (Prior) on Aug 05, 2005 at 14:26 UTC | |
by shemp (Deacon) on Aug 05, 2005 at 17:50 UTC |