Hi,
i am very new to PERL. I need to find Min and Max values for different ID (4,5,6) in multiple rows. eg:
13976 14249 4
14306 14416 4
15094 15651 4
16111 16236 5
16367 16643 5
19092 19624 5
19683 20561 5
21204 22151 6
22217 22765 6
This data is in data.dat file. The result should be:
Min 13976 and Max 15651 for ID 4
Min 16111 and Max 20561 for ID 5
Min 21204 and Max 22765 for ID 6
How to do this in PERL?
thanks
i am very new to PERL. I need to find Min and Max values for different ID (4,5,6) in multiple rows. eg:
13976 14249 4
14306 14416 4
15094 15651 4
16111 16236 5
16367 16643 5
19092 19624 5
19683 20561 5
21204 22151 6
22217 22765 6
This data is in data.dat file. The result should be:
Min 13976 and Max 15651 for ID 4
Min 16111 and Max 20561 for ID 5
Min 21204 and Max 22765 for ID 6
How to do this in PERL?
thanks