vcherubini
Programmer
Hello:
I have a question about how to use the module LWP. I recently read the post "LWP:UserAgent is mondo Cool!", and got an idea.
I have a page on my server that looks like the follow:
[tt]
<form action= method=post>
<input type=text name=logstring>
<input type=text name=logpw>
<input type=hidden name=localpage value=default.asp>
<input type=submit>
</form>
[/tt]
From a Perl script, I would like to fill out the values of the text fields (I would assume with LWP::UserAgent?) and then submit the page. So that page.asp on gets executed.
Then, from the output from otherserver.com, I can parse that and see if I get the correct data. That part I can do, but the other part is perplexing me.
Any and all help is appreciated.
Thanks.
-Vic vic cherubini
vikter@epicsoftware.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
====
I have a question about how to use the module LWP. I recently read the post "LWP:UserAgent is mondo Cool!", and got an idea.
I have a page on my server that looks like the follow:
[tt]
<form action= method=post>
<input type=text name=logstring>
<input type=text name=logpw>
<input type=hidden name=localpage value=default.asp>
<input type=submit>
</form>
[/tt]
From a Perl script, I would like to fill out the values of the text fields (I would assume with LWP::UserAgent?) and then submit the page. So that page.asp on gets executed.
Then, from the output from otherserver.com, I can parse that and see if I get the correct data. That part I can do, but the other part is perplexing me.
Any and all help is appreciated.
Thanks.
-Vic vic cherubini
vikter@epicsoftware.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
====