Olaf has asked for the wisdom of the Perl Monks concerning the following question:
Andsystem("start $SelectedAppURL") if $^O =~ /win/i;
Anduse HTML::Display; my $browser = HTML::Display->new(); $browser->display(location => $SelectedAppURL);
Anduse Win32::OLE; my $browser = new Win32::OLE 'InternetExplorer.Application'; $browser->Navigate($SelectedAppURL, 0, 'xyzzy');
The variable URL seems to work, but even if it didn't I'd expect IE to start and give me a 'Page Not Found' message. I have tried using a static URL in place for testing (www.yahoo for instance) with the same result. Ideas?use Win32::FileOp qw(ShellExecute); ShellExecute($SelectedAppURL);
UPDATE 2
Given that this is an IIS session, it does seem harder than need be. I still think it's possible (and easier in a different environment), but ended up going the JavaScript route. Thanks to all the Monk's suggestions despite my hard headedness.
|
|---|