Rand Stats

Browser::Open

github:azawawi

Browser::Open

Actions
Status

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

Installation

To install it using zef, the Raku 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

$ prove --ext .rakutest -ve "raku -I."
$ zef install Test::META
$ AUTHOR_TESTING=1 prove --ext .rakutest -ve "raku -I."

Author

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

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

License

MIT License