hi everyone,
before stating my problem ,
i just want to say
thanks in advance for the time and trouble taken:-)
i am an newbie to perl programming,
the problem is a text file needed to be parsed,
i have looked over regular expressions and string matching but coudnt helped out..
the text file contained the format:-
A,1,B
A,2,B
A,1,C
C,1_1,A
B,2,D
B,1_1,A
B,2_2,A
B,2_2,D
after doing the required parser, the output must be in the following format shown below
A,1,B
B,1_1,A
A,2,B
B,2_2,A
A,1,C
C,1_1,A
B,2,D
D,2_2,D
can anyone let me know how to get the above required format?
thanks
raghuraipur