I have a HTML file which gets generated by some tool. However, I need to use Perl to inset a newline after each line.
In a browser, if I was to view the source of this file, it would look something like this:
<body>
This is line number one
This is another line
This is also
Another line
</body>
Obviously this is just a snippet of the file. However, I think I would need to open this file and insert
at the end of each line in order to format it, so that when viewed in a browser, it looks "nice".
Is this the most sensible / efficient method to employ?
Thank you.