Movatterモバイル変換


[0]ホーム

URL:


Wayback Machine
15 captures
10 Dec 2015 - 09 Feb 2026
SepOCTNov
21
201920202021
success
fail
COLLECTED BY
Collection:Save Page Now
TIMESTAMPS
loading
The Wayback Machine - https://web.archive.org/web/20201021202950/https://metacpan.org/pod/Env::Browser
 / 
Env-Browser-0.06
River stage zero No dependents
 / Env::Browser
Author imageMichal Josef Špaček

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čekmailto:skim@cpan.org

http://skim.cz

LICENSE AND COPYRIGHT

 © 2013-2020 Michal Josef Špaček BSD 2-Clause License

VERSION

0.06

Module Install Instructions

To install Env::Browser, copy and paste the appropriate command in to your terminal.

cpanm

                    cpanm Env::Browser

CPAN shell

                    perl -MCPAN -e shell                    install Env::Browser

For more information on module installation, please visitthe detailed CPAN module installation guide.

 
API
About MetaCPAN
CPAN Mirrors
Fork metacpan.org
Perl.org
Bytemark logo
liquidweb logo
YellowBot logo
Fastly logo
As a valued partner and proud supporter of MetaCPAN, StickerYou is happy to offer a 10% discount on allCustom Stickers,Business Labels, Roll Labels, Vinyl Lettering or Custom Decals.StickerYou.com is your one-stop shop to make your business stick. Use codeMETACPAN10 at checkout to apply your discount.

Keyboard Shortcuts

Global
sFocus search bar
?Bring up this help dialog
GitHub
gpGo to pull requests
gigo to github issues (only if github is preferred repository)
POD
gaGo to author
gcGo to changes
giGo to issues
gdGo to dist
grGo to repository/SCM
gsGo to source
gbGo to file browse

[8]ページ先頭

©2009-2026 Movatter.jp