Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I've got a bunch of data in the __DATA__ declaration in the following format:
__DATA__
globalkey:key2:key3:key4:ARRAY VALUES
globalkey:key2:key3:key4:key5:ARRAY VALUES
globalkey:key2:key3:key4:key5:any arbitrary number of keys:ARRAY VALUES
So I'd like to build a HofHofH...ARRAYS for all this data. The last item is always an array but I have an arbitrary number of keys. Whats the easiest way to build this? Thanks for any help!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HoH..oA data structure
by ikegami (Patriarch) on May 10, 2009 at 00:45 UTC | |
by bichonfrise74 (Vicar) on May 10, 2009 at 14:23 UTC | |
by ig (Vicar) on May 12, 2009 at 15:27 UTC | |
by ikegami (Patriarch) on May 12, 2009 at 15:35 UTC | |
|
Re: HoH..oA data structure
by AnomalousMonk (Archbishop) on May 10, 2009 at 01:00 UTC |