in reply to Better way of finding HTML tags positions in HTML string
HTML::TagReader only accepts filename in string scalar. And open file by its own. Does not accepts file handles. So this will not work for HTML::TagReader