in reply to reading HTML file
Why don't you want to use LWP::UserAgent ? If you are using SOAP::Lite you are already using it anyhow
Beyond that, it isn't very clear, is the subroutine return() you define supposed to return the content of the HTML page as you describe ? I seem to be typing this all the time but you want to use HTML::Parser and LWP::UserAgent.
/J\
|
|---|