in reply to Array named for array element?
Rethink the design
If you end up with dynamicaly named complex storages, you normaly really want to use a hash ;)
In your case something like
seems to be reasonable, but who knows but you, you didn't say what you want to do with all that stuff...my %hash = ( a => [ ['stuff', 'morestuff'], ['otherstuff', 'morestuff'], ['yetmorestuff','things'] ], b => [ ['stuff','morestuff'], ['things2','3things'], ], );
regards,
tomte
Hlade's Law:
If you have a difficult task, give it to a lazy person --
they will find an easier way to do it.
|
|---|