Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Perl code to format the text file by inserting tag in blank lineby GrandFather (Saint) |
on Feb 12, 2020 at 05:37 UTC ( [id://11112831]=note: print w/replies, xml ) | Need Help?? |
The sample data you give looks like a fragment of XML. If that is the case it is strongly advised that you use a suitable module (XML::Twig, XML::LibXML, ...) to do the heavy lifting for you.
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
In Section
Seekers of Perl Wisdom
|
|