SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Env-Path rpm build for : OpenSuSE. For other distributions click perl-Env-Path.

Name : perl-Env-Path
Version : 0.19 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.1 Date : 2015-04-15 14:22:22
Group : Development/Libraries/Perl Source RPM : perl-Env-Path-0.19-1.1.src.rpm
Size : 0.04 MB
Packager : (none)
Summary : Advanced operations on path variables
Description :
Env::Path presents an object-oriented interface to _path variables_,
defined as that subclass of _environment variables_ which name an ordered
list of filesystem elements separated by a platform-standard _separator_
(typically \':\' on UNIX and \';\' on Windows).

Of course, core Perl constructs such

$ENV{PATH} .= \":/usr/local/bin\";

will suffice for most uses. Env::Path is for the others; cases where you
need to insert or remove interior path entries, strip redundancies, operate
on a pathvar without having to know whether the current platform uses \":\"
or \";\", operate on a pathvar which may have a different name on different
platforms, etc.

The OO interface is slightly unusual in that the environment variable is
itself the object and the constructor is Env::Path->AUTOLOAD(); thus

Env::Path->MANPATH;

will bless $ENV{MANPATH} into its package while leaving it otherwise
unmodified (with the exception of possible autovivification). Unlike most
objects, this is a scalar and thus can have only one attribute; its value.

In other words, Env::Path simply defines a set of methods a path variable
may call on itself without changing the variable\'s value or other
semantics.

Also, while the object reference may be assigned and used in the normal
style

my $path = Env::Path->CLASSPATH;
$path->Append(\'/opt/foo/classes.jar\');

a shorthand is also available:

Env::Path->CLASSPATH;
CLASSPATH->Append(\'/opt/foo/classes.jar\');

I.e. the name of the path variable may be used as a proxy for its object
reference. This may be done at \'use\' time too:

use Env::Path qw(PATH CLASSPATH); # or qw(:all) to bless all EV\'s
CLASSPATH->Append(\'/opt/foo/classes.jar\');

The design is intended to make use of this module as lightweight as
possible. Rather than creating a new object to manage an environment
variable, the environment variable is provided a set of methods for
self-modification but is otherwise left undisturbed and can be used in all
normal ways.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_11_SP3/noarch

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
perl(Env::Path)
perl-Env-Path

Requires :
rpmlib(CompressedFileNames) <= 3.0.4-1
perl = 5.10.0
rpmlib(VersionedDependencies) <= 3.0.3-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
/usr/bin/perl
rpmlib(PayloadIsLzma) <= 4.4.6-1


Content of RPM :
/usr/bin/envpath
/usr/lib/perl5/vendor_perl/5.10.0/Env
/usr/lib/perl5/vendor_perl/5.10.0/Env/Path.pm
/usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi
/usr/share/doc/packages/perl-Env-Path
/usr/share/doc/packages/perl-Env-Path/Changes
/usr/share/doc/packages/perl-Env-Path/README
/usr/share/doc/packages/perl-Env-Path/envpath
/usr/share/doc/packages/perl-Env-Path/examples
/usr/share/doc/packages/perl-Env-Path/examples/Whence
/usr/share/doc/packages/perl-Env-Path/examples/Whence.bat
/usr/share/man/man1/envpath.1.gz
/usr/share/man/man3/Env::Path.3pm.gz

 
ICM