P is for Practical | |
PerlMonks |
Re^6: Join lines that match an stringby ambrus (Abbot) |
on Jul 13, 2010 at 17:58 UTC ( [id://849332]=note: print w/replies, xml ) | Need Help?? |
What really isn't clear in the OP is whether you want to keep the lines you don't join in the output or throw those lines away. This isn't even clear from your detailed description, though in your code you throw them away. I assumed the OP wanted to keep those lines and only change the joined lines.
In Section
Seekers of Perl Wisdom
|
|