This is a humble Perl 6 port of Perl's Browser::Open.
To install it using Panda (a module management tool bundled with Rakudo Star):
$ panda update $ panda install Browser::Open
use Browser::Open; my $ok = open_browser($url);
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.
To run tests:
$ prove -e "perl6 -Ilib"
Ahmad M. Zawawi, azawawi on #perl6, https://github.com/azawawi/