Open a browser in a given URL
Perl6
Switch branches/tags
Nothing to show
Latest commit c556091 Apr 26, 2017 @azawawi committed on GitHub Merge pull request #11 from zoffixznet/patch-1
Use modern META filename
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
META6.json Use modern META filename Apr 25, 2017
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