in reply to Re: Read web page Data
in thread Read web page Data

This is wht I want to ask : I want to code a perl script as follows . Open Netscape and type a url . This url can be anything like perlmonks.com or yahoo.com or any url . Now I want my perl script to read data for this url . Suppose I type the url like yahoo.com then the perl script must be able to read data of that page . But if I change the url to rediff.com or any other then it should read that particular web page data. That means as I keep changing the url in Netscape the perl script should continue to read data for that url page and save it somewhere . Normally to retrieve web page data I use : $url = "http://www.myurl.com/ But my problem comes when I change the url in Netscape I am unable to change the url for the $url. Can u suggest me how can I achieve it .

Replies are listed 'Best First'.
Re^3: Read web page Data
by Anonymous Monk on Jun 17, 2010 at 17:08 UTC
    Look at a combination solution of autoit and perl. autoit can read your freshly type url and call your perl script with that url. It might be a bit complicated but will certainly work out if you put in the effort.