Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
which contains the location and who is working at what time on that location . I am trying to read it and print output like this :INPUT1 -------- LoCATION 10:00 10:30 11:00 11:30 12:00 PiZZA SAM MARY LARRY ED LUSI RICK SUE DON SEAFOOD KIN KHAN DANNY MIKE YOUND TK MONK
Any idea of the best way in doing this ? not sure weather arrays or hash is better? Thanks for advice and helpoutput -------- PIZZA ----- 10:00 SAM LUSI 10:30 MARY RICK DON 11:00 LARRY 11:30 ED SUE 12:00 SEAFOOD ------- 10:00 KIM 10:30 KHAN MIKE 11:00 YOUNG 11:30 TK 12:00 DANNY MONK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Hash & Array
by davido (Cardinal) on Feb 24, 2004 at 05:57 UTC | |
|
Re: Hash & Array
by arden (Curate) on Feb 24, 2004 at 06:33 UTC | |
|
Re: Hash & Array
by flounder99 (Friar) on Feb 24, 2004 at 21:13 UTC | |
by Anonymous Monk on Feb 25, 2004 at 03:36 UTC | |
|
Re: Hash & Array
by fuzzyping (Chaplain) on Feb 24, 2004 at 20:03 UTC |