You need to correctly specify the URL as http://...$fetchURL=$cgiobject->param("url"); unless ($fetchURL) {$fetchURL="www.yahoo.com"} $webPage=get($fetchURL);
I suggest breaking the thing down in to bits.
First build a perl program that can retrieve a URL and display the content.
Then build a CGI script that builds the HTML form etc. and just displays the source of any web page retrieved (hint $content =~ s/</</g; print pre($content) is a quick and dirty way of putting what you have retrieved in a form that you can see it on a browser).
Finally build the processing code.
Dingus
In reply to Re: Need help to parse dynamic page ....
by dingus
in thread Need help to parse dynamic page ....
by sprakash
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |