Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Remove newlines and join linesby hewarn (Initiate) |
on Aug 28, 2002 at 13:44 UTC ( [id://193451]=perlquestion: print w/replies, xml ) | Need Help?? |
hewarn has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
If anyone has a elegant solution for this, please share it with me.. I am reading result a file and have already found the lines I wish to join but...this is not working.... I have names like Mary,Alan,David and I am searching for those from file. Once I have found it, I just would like to remove empty lines and attach the next written line after the word. Original file looked like I cant seem to get that end of line off and join those lines... Small but irritating problems cause I dont know how. BR Hewarn
Back to
Seekers of Perl Wisdom
|
|