I thought I replied to this last night but I don't see it. My apologies if I am missing something and this turns out to be a double post.
Thanks for the reply. I thought 'content' returned an HTML object if I didn't use the format. I'll give that a try.
I agree that it seems impossible to not get the whole page but since this is my first time with Mech I don't really know all it does yet.
The bottom line of this exercise is to get ALL the javascript source including that which comes as a link rather then embedded. That was the problem I was having with LWP, the 'GET' only gave me the source for embedded javascript.
For a better description of what I am doing, please see the explanation in
Using LWP to automate a login. I am trying to extract the assigned IP address from the ISP for a DSL line. To do that I need to log on to a D-Link EBR-2310 which will serve a status page containing that information. The trick is to authenticate to the router.