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

Hi Monks,

I would like to open a html-file in IE from perl. Doing it with Opera works, but IE seems to be installed on most MS-Windows machines, not Opera. Does some know the technique?
Thanks!
sub showfile { use Win32::Process; my ($Process); Win32::Process::Create($Process, "C:/Program\ Files/Opera/opera.exe", " $file", 0, DETACHED_PROCESS | THREAD_PRIORITY_NORMAL, ".") || &error_message("failed to start opera +"); }

Replies are listed 'Best First'.
Re: Opening html-file with IE from perl
by Anonymous Monk on Jul 21, 2009 at 12:40 UTC
      This works indeed. Thank you!