-
-
Notifications
You must be signed in to change notification settings - Fork 0
Process environment variable $BROWSER and run web browser.
License
michal-josef-spacek/Env-Browser
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NAME Env::Browser - Process environment variable $BROWSER and run web browser. SYNOPSIS use Env::Browser qw(run); run($uri); SUBROUTINES run($uri) Run browser defined by $BROWSER variable. ENVIRONMENT $BROWSER variable is defined by L<The BROWSER project|http://www.catb.org/~esr/BROWSER/index.html>. EXAMPLE1 use strict; use warnings; use Env::Browser qw(run); # Set $BROWSER variable. $ENV{'BROWSER'} = 'echo'; # Run. run('http://example.com'); # Output: # http://example.com EXAMPLE2 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 EXAMPLE3 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.com DEPENDENCIES Readonly. SEE ALSO urlview URL extractor/launcher REPOSITORY <https://github.com/michal-josef-spacek/Env-Browser> AUTHOR Michal Josef Špaček <mailto:skim@cpan.org> <http://skim.cz> LICENSE AND COPYRIGHT © 2013-2020 Michal Josef Špaček BSD 2-Clause License VERSION 0.07
About
Process environment variable $BROWSER and run web browser.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published