in reply to Fetching a link of a webpage (harder than it seems)

I would use WWW::Mechanize for something like this, it's a module specially made for navigating through web sites.

Also you might use a packet sniffer to find out the difference between what firefox and what your script sends to the web server. Probably there are also tools higher up in the protocol stack that can protocol the communication

  • Comment on Re: Fetching a link of a webpage (harder than it seems)