|
|
|
|
| Is perl suitable for doing this? |
 Is perl suitable for doing this? - eric1999 [ 2004-05-23 09:20 | 1,226 byte(s)]
 Re: Is perl suitable for doing this? - DanceDanceDance [ 2004-05-23 17:13 | 14 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
I am a new perl programmer.
I want to know whether it is good for perl to get the necessary data for the following :
MATCH_TEXT_LINE_1
<BLANK SPACE>
DATE TIME DUMMY1 DUMMY2
<BLANK SPACE>
DATA1 ITEM11 ITEM12 ITEM13
DATA2 ITEM21 ITEM22 ITEM23
DATA3 ITEM31 ITEM32 ITEM33
.
.
.
If the MATCH_TEXT_LINE_1 is the line I want, then I will extract the data following this
line. DATA, TIME, DATAx, ITEMxx ....
The output will be sorted by DATA type (e.g. DATA1 a group, DATA2 second group). And
within each group, it is sorted by DATA and TIME.
One way I think I can use is:
To use @array to hold the data, using DATE + TIME + DATA1 as the key and ITEMxx
as the data. Besides this, is there another easy way to do this? Can array be in multi-dimension?
Thanks!
|
|
|
[Original]
[Print]
[Top]
|
|
« Previous thread
请问代码错在哪里? |
Perl 编 程
第5页 |
Next thread »
如何获得最后一个点的后面部分? |
|