
Env::Browser - Process environment variable $BROWSER and run web browser.
use Env::Browser qw(run); run($uri); $BROWSER variable is defined by L<The BROWSER project|http://www.catb.org/~esr/BROWSER/index.html>. use strict; use warnings; use Env::Browser qw(run); # Set $BROWSER variable. $ENV{'BROWSER'} = 'echo'; # Run. run('http://example.com'); # Output: # http://example.com use strict; use warnings; use Env::Browser qw(run); # Set $BROWSER variable. $ENV{'BROWSER'} = 'echo %s'; # Run. run('http://example.com'); # Output: # http://example.com use strict; use warnings; use Env::Browser qw(run); # Set $BROWSER variable. $ENV{'BROWSER'} = 'foo:echo %s:bar'; # Run. run('http://example.com'); # Output: # http://example.comURL extractor/launcher
https://github.com/michal-josef-spacek/Env-Browser
Michal Josef Špačekmailto:skim@cpan.org
© 2013-2020 Michal Josef Špaček BSD 2-Clause License0.06
To install Env::Browser, copy and paste the appropriate command in to your terminal.
cpanm Env::Browser
perl -MCPAN -e shell install Env::Browser
For more information on module installation, please visitthe detailed CPAN module installation guide.
| Global | |
|---|---|
| s | Focus search bar |
| ? | Bring up this help dialog |
| GitHub | |
|---|---|
| gp | Go to pull requests |
| gi | go to github issues (only if github is preferred repository) |
| POD | |
|---|---|
| ga | Go to author |
| gc | Go to changes |
| gi | Go to issues |
| gd | Go to dist |
| gr | Go to repository/SCM |
| gs | Go to source |
| gb | Go to file browse |