473,750 Members | 2,533 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to open a web page using perl?

1 New Member
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.
Nov 1 '08 #1
1 3968
KevinADC
4,059 Recognized Expert Specialist
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.
Nov 1 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
3137
by: funtoosh | last post by:
Hi I am using latest PERL provided with REDHAT 9. I use this snippet of perl in t.pl $SIG{'TERM'}=\&doItNow ; $anotherProgram=$ARGV; open (AP,"$anotherProgram |") or die "$_ \n" ;
29
3194
by: Mainlander | last post by:
An ISP I belong to uses Majordomo for their mailing list system. I'd like to encourage them to move to a system that uses a database, preferably psql which they already run on their server. Anything out there in Php?
8
3366
by: Brian F | last post by:
Exactly what the subject says. I have an ASP page that I want my C# windows application to open in Internet Explorer, and if possible have it send along a list of values from a list box. Thank you.
3
41787
by: sandycat05 | last post by:
Hello all, I am a new Perl programmer. Below is the beginnings of a code that I am using to manipulate an Excel spreadsheet via Perl using win32::OLE. However, what I'd like to do is the following: instead of either opening a file or creating a new one, I'd like to do BOTH. I was thinking of creating a loop where I could basically say something like: if $excelfile exists, then open $excelfile, otherwise, create a new workbook named...
4
8165
by: jwlum | last post by:
I have the following problem under Internet Explorer only: 1. User fills out form data (myform.php) and clicks a button that fires myFunction() 2. myFunction() spawns a "hello, world" popup page via window.open 3. myFunction() submits the main page's form via document.form.submit() 5. User closes popup window and clicks browser's Back button to return to form entry page 6. All the form data that the user had filled out is now blank...
15
1496
by: atbusbook | last post by:
Programing Languiges Are Ment to be free. That is why i am starting The <i>Coo De Tar</i> thats french for Blow of state it is a flash/java alternative and if you are going to use a server side languige use Perl,Python or better yet Ruby. What is the point of a languige without a standerd and without a open source distrabution. Coo De Tar will be released as a api for perl,python and ruby. Java sucks because it IS NOT FREE. I AM A GNU GUY...
11
14488
by: alnoir | last post by:
I'm using the Open Perl IDE to write perl scripts. Everytime I try to compile a script Open Perl will open another script called 'perl5db.pl' and find a compiling error in it. The result in the 'Error Output' box is: Win32 does not define $Win32::VERSION--version check failed at C:\Open_Perl_IDE_1.0.11.409/perl5db.pl line 438. BEGIN failed--compilation aborted. Compilation failed in require at C:/Perl/lib/Win32.pm line 8. BEGIN...
1
1900
by: hamidashrafi | last post by:
Hi, I just joined to the world of Perl. I am using the Open Perl IDE. in the following script do you know how I can set the path so, the program understand from where is should open the file. When I ran it I got the following message in console. "Entering open perl debugger, connecting to port 1378...connected. >Program terminated." Thanks
22
2406
by: Ken Foskey | last post by:
On Thu, 14 Aug 2008 10:09:01 -0700, raylopez99 wrote: The facts of the case above are that the person took a whole application and distributed it after some minor modifications, ie they did not do much at all to the whole thing. It was outright theft. How would you feel if someone stole your application that you were selling and then distributed it. What is the difference? Artistic, GPL and LGPL are licenses, Public Domain is a...
0
9001
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8838
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9583
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6081
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4716
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3323
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2226
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.