How to open a browser with perl ?

A

Ashok

Hi all,
I have been woring in perl for past 6 months. I need to open a IE
browser using perl scripts, and all the time when I run the script, the
browser shuld auto refresh. Can anyone help me how to open a browser
and how to make it auto refresh ?
If u have came across any modules to be used in cpan for this, let me
know that.


Ashok
 
J

Jürgen Exner

Ashok said:
I have been woring in perl for past 6 months. I need to open a IE
browser using perl scripts, and all the time when I run the script,
the browser shuld auto refresh. Can anyone help me how to open a
browser

Simple. Exactly the same way as you would call any other external program:
- system()
- backticks
- qx()
- exec()
- ...

and how to make it auto refresh ?

To my knowlegde there is no command line parameter or env var or other
option to force IE to auto refresh. It all depends on the document that you
load.

jue
 
J

John Bokma

Ashok said:
Hi all,
I have been woring in perl for past 6 months. I need to open a IE
browser using perl scripts, and all the time when I run the script, the
browser shuld auto refresh. Can anyone help me how to open a browser
and how to make it auto refresh ?
If u have came across any modules to be used in cpan for this, let me
know that.

Maybe better to explain what you want to do, and why you want to refresh.
Sounds like a bot for ad fraud to me, but I love to be wrong on this.

If you need to refresh a page often to kick something into action (for
example a CGI script if you have no crontab access), you can do this from
Perl directly without a problem.
 
D

Dave

Ashok said:
Hi all,
I have been woring in perl for past 6 months. I need to open a IE
browser using perl scripts, and all the time when I run the script, the
browser shuld auto refresh. Can anyone help me how to open a browser
and how to make it auto refresh ?
If u have came across any modules to be used in cpan for this, let me
know that.


Ashok

Sounds like you need to use Win32::OLE to access the IE automation
interface.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,201
Messages
2,571,049
Members
47,655
Latest member
eizareri

Latest Threads

Top