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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTTP::Request failure; HELP !!!!!!!!

Status
Not open for further replies.

jeffchakwong

Programmer
Mar 24, 2000
1
US
I have a perl script that can create a virtual browser, send a URL request to an IBM central search server, receive search results, and put them into HTML for display. It's been working fine in the cgi-bin directory on my NT. But when it's moved to another NT box, the script failed at the <br>
statement <br>
&quot;$response = $ua-&gt;request($request);&quot;<br>
It seems the virtual browser is not sending<br>
requests nor receiving responses. PLEASE HELP !!!!!!!!!!!<br>
<br>
<br>
#--- extracted from my perl script ---&gt;<br>
require LWP::UserAgent;<br>
$ua = new LWP::UserAgent;<br>
$ua-&gt;timeout($timeout);<br>
$url = &quot;<A HREF=" TARGET="_new">$request = new HTTP::Request('GET', $url);<br>
$response = $ua-&gt;request($request);<br>
<br>
#--- extracted from my perl script ---&gt;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top