Hi Veltro / MONKS,
In addition i have one more scenario, Below. Can you please help me, I am new to perl
A1,B1,ACT_DATE,INACT_DATE 7900724655,200906888,20180416,20180522 7900724655,200906889,20180601,20180720 7900724655,200906889,20180724,20180728
--> for A1(7900724655), B1(200906889) is consecutively same from June to July 28.
7900724655,200906888,20180730,20180830 7900724655,200906890,20180905,20180930 7900724655,200906890,20181005,20181030 7900724655,200906890,20181104,
-->For A1(7900724655), B1(200906890) is consecutively(thrice) same from sept to tilldate(As inact date is Null).
7900724666,200906868,20180416,20180522 7900724666,200906869,20180601,20180720 7900724666,200906869,20180724,20180728 7900724666,200906868,20180730,20180830 7900724666,200906890,20180905,20180930 7900724666,200906890,20181005,20181030 7900724666,200906890,20181104,
Expected output in HASH
A1,B1,ACT_DATE,INACT_DATE
I want to store date only for the consecutive(any number of times) B1(First active and last inactive) in hashmap
ie.,
7900724655,200906889,20180601,20180728 7900724655,200906890,20180905, 7900724666,200906869,20180601,20180728 7900724666,200906890,20180905,
Thank you very much in advance
2018-08-04 Athanasius added code tags
In reply to Re^2: sorting and merging in perl
by Sekhar Reddy
in thread sorting and merging in perl
by Sekhar Reddy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |