http://www.perlmonks.org?node_id=286553

einerwitzen has asked for the wisdom of the Perl Monks concerning the following question:

I'd explain the situation but I bet there is a simple answer so I'll simply ask it... I have a script that reads the html of one page and displays (the HTML) in a text box. kind of like a view-source right in the page. Only sometimes the html is garbled, it won't show the ' > ' or ' < ' and bits like '& nbsp' show up as the space rather than the code... maybe this is an html question, but since it is in a script i'd like to fins perl command. thanks for whatecer anyone can offer!!!