Gentoo::PerlMod::Version::Env - Get/parse settings from %ENV
version 0.7.0
opts
my $hash = Gentoo::PerlMod::Version::Env::opts();
hasopt
GENTOO_PERLMOD_VERSION=" foo=5 "; if ( Gentoo::PerlMod::Version::Env::hasopt('foo') ) { pass('has opt foo'); }
getopt
GENTOO_PERLMOD_VERSION=" foo=5 "; if ( Gentoo::PerlMod::Version::Env::hasopt('foo') ) { is( Gentoo::PerlMod::Version::Env::getopt('foo'), 5 , ' foo == 5' ); }
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Gentoo::PerlMod::Version, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gentoo::PerlMod::Version
CPAN shell
perl -MCPAN -e shell install Gentoo::PerlMod::Version
For more information on module installation, please visit the detailed CPAN module installation guide.