Hi monks, i am little bit disappointed in all this discussion.
If the input from chat is displayed in HTML page, then any "<" or ">" in the displayed text will be transformed to the
. So if you can see
in this case you should not be bothered about knowing all tags, and if you want to see the text as it is in browser you need just to replace
by ">" in your perl code.