You are most likely looking for modules like HTML::Tidy, HTML::TreeBuilder or XML::Twig.
If you show us a small sample of the sort of data you have to deal with and the code you have tried we may be able to give more specific answers.
In reply to Re: read a file and insert closing tags if not present
by GrandFather
in thread read a file and insert closing tags if not present
by valavanp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |