in reply to Script using WWW::Mechanize fails to log in

After 'logging in' , I get the following results with frames. Could frames be interfering with everything?
<html> <head> <title></title> </head> <frameset rows="140,*" border="0" frameborder="no" framespacing="0" bo +rdercolor="black"> <frame SRC="/portal/servlet/LoginServlet?action=blankPortal" name= +"ME_TOP" noresize marginheight="0" marginwidth="0" scrolling="no" fra +meborder="no"> <frame SRC="/portal/servlet/LoginServlet?action=regular&app=&Passw +ord=XXXX&loginId=YYYY&sessType=new" name="ME_BOTTOM" noresize marginh +eight="0" marginwidth="0" frameborder="no"> </frameset> </html>