jbfamilly has asked for the wisdom of the Perl Monks concerning the following question:
So I read this file into a hash of arrays but how do I go through the lists to get:fruit:apple fruit:orange fruit:banana veg:celery veg:cucumber veg:been
The next time this is run there could be 3 things: fruit, veg, meat...Day 1: apple celery Day 2: orange cucumber Day 3: banana been
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: variable number of lists
by moritz (Cardinal) on Aug 17, 2009 at 15:17 UTC | |
by AnomalousMonk (Archbishop) on Aug 17, 2009 at 15:33 UTC | |
by jbfamilly (Initiate) on Aug 17, 2009 at 15:22 UTC | |
by ssandv (Hermit) on Aug 17, 2009 at 15:31 UTC | |
by moritz (Cardinal) on Aug 17, 2009 at 15:24 UTC | |
|
Re: variable number of lists
by ack (Deacon) on Aug 17, 2009 at 16:54 UTC | |
|
Re: variable number of lists
by dwm042 (Priest) on Aug 17, 2009 at 18:43 UTC | |
by jbfamilly (Initiate) on Aug 17, 2009 at 20:59 UTC |