in reply to create hash names dynamically
Please read Why it's stupid to `use a variable as a variable name`. The short answer is, that you want a hash to store your subhashes.
my %main_hash = ( hash_1 => { ... }, hash_2 => { ... }, ... );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: create hash names dynamically
by msk_0984 (Friar) on Jun 11, 2007 at 11:53 UTC |