I would check the source of the login page and find out what the names are for input fields for the username and password (might be
username and
password) and the name of the CGI they are being submitted to (might be
login.cgi).
I would then piece the information together into a URL thusly:
www.domain.com/cgi-bin/login.cgi?username=<username>&password=<password>
You might need to add other hidden variables as well. I would then use
LWP to grab the desired page. I believe
LWP will allow you to use POST if necessary.
bassplayer