Hi Perlers,

I have a file as follows:

#block1
aaa
aaa

#block2
bbb
bbb

#block3
ccc
ccc

and i want to append(or i should say merge) these blocks and get a file like 
this:

aaabbbccc
aaabbbccc

how can this be done using perl?
please help..

regards
Aditi

Reply via email to