in reply to Clarifikation of Newbie question
After this is executed $output will contain whatever 1.pl sent back to the webserver for output, i.e., if it sent back an HTML page, $output will contain the HTML page. You can write 2.pl to construct your querystring to be anything you want, just make sure it's escaped of all the nasty little HTTP characters and such. You can use URI::Escape to do that.use LWP::Simple; $escaped_querystring = "something"; $output = get ("http://someurl/cgi-bin/1.pl?$escaped_querystring");
Hope this helps.
Gary Blackburn
Trained Killer
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Clarifikation of Newbie question
by Anonymous Monk on Oct 26, 2000 at 10:57 UTC |