08 Nov 2007 19:08:21 UTC
- Distribution: Win32-WebBrowser
- Module version: 1.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (55 / 4 / 11)
- KwaliteeBus factor: 0
- % Coverage
- License: unknown
- Activity24 month
- Download (2.26KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- SEE ALSO
- AUTHOR, COPYRIGHT, and LICENSE
Win32::WebBrowser - open the default web browser on Win32
use Win32::WebBrowser; open_browser('file://D:\\some\\directory\\myfile.html');
In a separate detached process, opens the default web browser instance for the specified URL. The browser executable is determined by reading the registry.
Only a single exported method is provided:
Create a separate detached process to run the default browser for the platform (as specified in the registry) and supply the given
$urlto it. Returns 1 on success, undef with the error message in
HTML::Display provides similar functionality for multiple OSes/platforms, but does not currently (as of version 0.39) provide a working Windows solution.
Copyright(C) 2007, Dean Arnold, Presicient Corp., USA. All rights reserved.
Permission is granted to use this software under the same terms as Perl itself. Refer to the Perl Artistic license for details.
Module Install Instructions
To install Win32::WebBrowser, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Win32::WebBrowser
For more information on module installation, please visit the detailed CPAN module installation guide.