Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing parameters + capturing output 1

Status
Not open for further replies.

sucram

Programmer
Joined
May 23, 2001
Messages
75
Location
GB
Hey Everyone,

I am a student and very new to perl.
There is a web page that takes in a single parameter and outputs another web page, it is basically a text field and a submit button. I want to send many parameters, one after another, to the page and capture the web page that is returned and store it in a file.

Does anyone have any help to get me started, I really don't have much of a clue on what to do.
How do I pass the info into the script?
How to capture the info?

Thanks,
Marcus

P.S: Sorry if you can't understand what I am trying to do I'll try and explain it better if required
 
You can use the LWP module to send a request to a server and get back the results.
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 

Thank you Tracy that was exactly what I needed.

Marcus
 
Glad I could be of assistance. The LWP module is a really handy one that I've found several uses for. I've even used it to run a perl script on another server and return the results to me. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 

That is exactly what I was using it for. It is really handy.

Thanks Again!

Marcus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top