in reply to Re^4: Using variable contents in new variable name
in thread Using variable contents in new variable name
I don't get how $admiss_ref->[$index{name}] ends up being $admiss_1_name....
It doesn't. It's a completely different data structure. $admissref is a reference to an array. $index{name} contains an index into that array. It's equivalent to $admiss[1] or something similar.
Perhaps you should read References Quick Reference, if that's unclear.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Using variable contents in new variable name
by antioch (Sexton) on Dec 11, 2006 at 03:56 UTC |