I am using HTML::Parse to parse my html to do stuff. However, I have a requirement of submitting a form with user providing only the necessary details such as username/password and using the remaining of the url to extract all the form name/value pairs. This is because one of the name/value pairs is dynamic..i.e. the value is being generated everytime you get the login url before doing a post. As an example, this can be seen with
. I know there is a module on CPAN called HTML::Form, but I am not sure how to use it in conjunction with HTML::Parse because the latter is indeed breaking the entire url apart. Can someone please provide me with a sample script of how I could go about parsing the form with HTML::Parse.