jeffchakwong
Programmer
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>
"$response = $ua->request($request);"<br>
It seems the virtual browser is not sending<br>
requests nor receiving responses. PLEASE HELP !!!!!!!!!!!<br>
<br>
<br>
#--- extracted from my perl script ---><br>
require LWP::UserAgent;<br>
$ua = new LWP::UserAgent;<br>
$ua->timeout($timeout);<br>
$url = "<A HREF=" TARGET="_new">$request = new HTTP::Request('GET', $url);<br>
$response = $ua->request($request);<br>
<br>
#--- extracted from my perl script --->
statement <br>
"$response = $ua->request($request);"<br>
It seems the virtual browser is not sending<br>
requests nor receiving responses. PLEASE HELP !!!!!!!!!!!<br>
<br>
<br>
#--- extracted from my perl script ---><br>
require LWP::UserAgent;<br>
$ua = new LWP::UserAgent;<br>
$ua->timeout($timeout);<br>
$url = "<A HREF=" TARGET="_new">$request = new HTTP::Request('GET', $url);<br>
$response = $ua->request($request);<br>
<br>
#--- extracted from my perl script --->