1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-09 02:22:18 +00:00
freebsd-ports/www/p5-Browser-Open/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +00:00

13 lines
537 B
Plaintext

The functions optionaly 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.
The "open_browser" uses the system() function to execute the command. If you
want more control, you can get the command with the "open_browser_cmd" or
"open_browser_cmd_all" functions and then use whatever method you want to
execute it.
WWW: https://metacpan.org/release/Browser-Open