Hi List

I have a hash with the following data structure.
KEY=[0]--  VALUE=[57 147 237 327 417 507 597 687 777 867 957 1047 1137 1227
1317 1407]
KEY=[1]--  VALUE=[58 148 238 328 418 508 598 688 778 868 958 1048 1138 1228
1318 1408]
KEY=[10]--VALUE=[67 157 247 337 427 517 607 697 787 877 967 1057 1147 1237
1327 1417]
KEY=[11]--VALUE=[68 158 248 338 428 518 608 698 788 878 968 1058 1148 1238
1328 1418]
KEY=[12]--VALUE=[69 159 249 339 429 519 609 699 789 879 969 1059 1149 1239
1329 1419]
KEY=[13]--VALUE=[70 160 250 340 430 520 610 700 790 880 970 1060 1150 1240
1330 1420]
KEY=[14]--VALUE=[71 161 251 341 431 521 611 701 791 881 971 1061 1151 1241
1331 1421]
KEY=[15]--VALUE=[72 162 252 342 432 522 612  702 792 882 972 1062 1152 1242
1332 1422]
KEY=[2]--  VALUE=[59 149 239 329 419 509 599 689 779 869 959 1049 1139 1229
1319 1409]
KEY=[3]--  VALUE=[60 150 240 330 420 510 600 690 780 870 960 1050 1140 1230
1320 1410]
KEY=[4]--  VALUE=[61 151 241 331 421 511 601 691 781 871 961 1051 1141 1231
1321 1411]
KEY=[5]--  VALUE=[62 152 242 332 422 512 602 692 782 872 962 1052 1142 1232
1322 1412]
KEY=[6]--  VALUE=[63 153 243 333 423 513 603 693 783 873 963 1053 1143 1233
1323 1413]
KEY=[7]--  VALUE=[64 154 244 334 424 514 604 694 784 874 964 1054 1144 1234
1324 1414]
KEY=[8]--  VALUE=[65 155 245 335 425 515 605 695 785 875 965 1055 1145 1235
1325 1415]
KEY=[9]--  VALUE=[66 156 246 336 426 516 606 696 786 876 966 1056 1146 1236
1326 1416]

Now you can see that for first key i.e. KEY 0 the values are from 57 to
1407. But my target is to create another hash whose first key will be KEY0
but its value will be from 57 to 66 that means for each value each column
will be changed as each row.

How to implement this. Please provide some hints.

Best Regards
Anirban.

Reply via email to