in reply to How to improve my code? main concern:array as hash element
If a line in your input is:
RandomID Name Gi Tissuethen what do you want your output to be? Is the "Gi" supposed to be replaced with one of the three items in your @gi array, or all three at once, or should the line be printed three times, once for each value? My guess based on your code is that it should become three lines.
Aaron B.
My Woefully Neglected Blog, where I occasionally mention Perl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to improve my code? main concern:array as hash element
by xargon (Initiate) on Nov 24, 2011 at 13:59 UTC |