Posted on 2003-12-02
Help once again!
I am putting together a perl script to access a web page and extract certain information.
The problem is that the login screen is written in Java.
It seems that the login form is built dynamically - below is code that defines the username and password fields:
document.write("<td align=left><INPUT TYPE=TEXT NAME=\"username\" VALUE=\"\" MAXLENGTH=128 SIZE=7></td>");
document.write("<th align=right><LABEL ID=PWD>Password:</LABEL></th>");
document.write("<td align=left><INPUT TYPE=password NAME=\"password\" VALUE=\"\" MAXLENGTH=46 SIZE=12>");
I am using WWW::Mechanize. it seems to get back the page just fine, (and I have the latest version .70) .
I keep working on it - but any advice is appreciated.