Open a browser in a given URL
Perl 6
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

This module allow you to open URLs in a browser. A set of known browser 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/

Original Perl 5 Author: Pedro Melo <melo at cpan.org>

License

MIT License