Open a browser in a given URL
Perl6
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
lib/Browser
t
.gitignore
.travis.yml
LICENSE
META6.json
README.md
appveyor.yml

README.md

Browser::Open Build Status Build status

This is a humble Perl 6 port of Perl's Browser::Open.

Installation

To install it using zef, the Perl 6 module manager :

$ zef install Browser::Open

Synopsis

use Browser::Open;

my $ok = open_browser($url);

Description

The functions optionally exported by this module allows you to open URLs in the user browser.

A set of known commands per OS-name is tested for presence, and the first one found is executed. With an optional parameter, all known commands are checked.

Testing

To run tests:

$ prove -e "perl6 -Ilib"

Author

Ahmad M. Zawawi, azawawi on #perl6, https://github.com/azawawi/

License

MIT License