Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

run IE from the Perl script

by Misha (Acolyte)
on Jan 30, 2008 at 20:24 UTC ( #665203=perlquestion: print w/replies, xml ) Need Help??

Misha has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks,

I need to run IE from the Perl script and pass the port as an argument.
How can I do it?

Many thanks

Replies are listed 'Best First'.
Re: run IE from the Perl script
by Errto (Vicar) on Jan 30, 2008 at 20:51 UTC
    See Re: How to start default browser on Windows?. Note that this opens the user's default browser, rather than IE necessarily, but I suspect most of your users would consider that a good thing. system works too, but IIRC it pops up a console window (unless you're already in one), which may be unseemly.
      Many thanks,
      It what I was looking for.
Re: run IE from the Perl script
by nikosv (Chaplain) on Jan 30, 2008 at 20:47 UTC
Re: run IE from the Perl script
by renodino (Curate) on Jan 30, 2008 at 20:58 UTC
Re: run IE from the Perl script
by Popcorn Dave (Abbot) on Jan 30, 2008 at 20:37 UTC
    I'm not sure that this is the most efficient way to do it, but this seems to work.

    use strict; system (1,'start');

    I tested it and it opened a new tab for me in Firefox, but that's my default browser, so if IE is your default, it should be fine.


    Revolution. Today, 3 O'Clock. Meet behind the monkey bars.

    I would love to change the world, but they won't give me the source code

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://665203]
Approved by Popcorn Dave
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2021-12-09 02:10 GMT
Find Nodes?
    Voting Booth?
    R or B?

    Results (36 votes). Check out past polls.