LWP::UserAgent has done what you asked it to do i.e. return the HTML for that URL. If you need the contents of one of the frames make another call with that URL. For instance in this case it may be the frame named 'MAIN' and you would need the URL endiing 'main.HTM'.