Perl-Sensitive Sunglasses | |
PerlMonks |
Re: How to start default browser on Windows?by bunnyman (Hermit) |
on Aug 11, 2005 at 14:52 UTC ( [id://482982]=note: print w/replies, xml ) | Need Help?? |
The right way to do it is to go through the Windows Shell. This will ensure you get the default browser without having to do any poking around in the registry. use Win32::FileOp qw(ShellExecute); ShellExecute('http://...'); (Note: Untested. Win32::FileOp is on CPAN.)
In Section
Seekers of Perl Wisdom
|
|