Connecting Tech Pros Worldwide Forums | Help | Site Map

how to open a web page using perl?

Newbie
 
Join Date: Nov 2008
Posts: 1
#1: Nov 1 '08
Hi,

I would like to open a web page using Perl.
I have a device on the internet whose web user interface I would like to open and subsequently automate some of the tabs on that web page.
Is there any specific command for opening a webpage(if we know either the IP address or the DNS name like www.google.com) via Perl?

Thanks.

KevinADC's Avatar
Expert
 
Join Date: Jan 2007
Location: Southern California USA
Posts: 4,091
#2: Nov 1 '08

re: how to open a web page using perl?


WWW::Mechanize is a possibility. You can use it for automating a lot of internet activity. LWP and its sub classes can also be used. I think WWW::Mechanize uses LWP internally. Perl itself has no function for interacting with or even simply fetching a webpage.
Reply