Open a browser in a given URL
Perl6
Switch branches/tags
Nothing to show
Latest commit 4cc28b4 Apr 11, 2016 @azawawi Remove --verbose
Permalink
Failed to load latest commit information.
examples Add example Jan 23, 2016
lib/Browser Fix #1 Apr 11, 2016
t Fix removed @*INC Dec 5, 2015
.gitignore Ignore precompiled artifacts Apr 11, 2016
.travis.yml Remove --verbose Apr 11, 2016
LICENSE Switch to MIT license Apr 11, 2016
META.info Fix #1 Apr 11, 2016
README.md Switch to MIT license Apr 11, 2016
appveyor.yml Add windows (AppVeyor) CI testing Apr 11, 2016

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 Panda (a module management tool bundled with Rakudo Star):

$ panda update
$ panda 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