SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Proc-Info-Environment rpm build for : OpenSuSE. For other distributions click perl-Proc-Info-Environment.

Name : perl-Proc-Info-Environment
Version : 0.01 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp154.7.1 Date : 2023-01-27 18:19:13
Group : Development/Libraries/Perl Source RPM : perl-Proc-Info-Environment-0.01-lp154.7.1.src.rpm
Size : 0.01 MB
Packager : https://www_suse_com/
Summary : Read Environment Variables of any Process
Description :
Proc::Info::Environment retrieves the settings of environment variables in
arbitrary running processes of the operating system.

For example,

use Proc::Info::Environment;
my $proc_env = Proc::Info::Environment->new();
my $env = $proc_env->env( 123 );

will retrieve the environment settings of the process with the pid 123 and
(if this process exists and is readable by the user) return them as a hash
reference in $env.

As an illustrative (but not very useful) example, retrieving

my $env = $proc_env->env( $$ );

will return a reference to a hash similar to \'%ENV\', which contains the
environment variables of the current process.

Reading other processes\' environment variables is only possible if the
operating system (a) supports a method to do this and (b) the user of the
currently running process is either root, or has the same uid as the
process whose variables it wants to read.

Proc::Info::Environment is currently supported only for specific Unix
systems. On Linux, it will use the procfs file system mounted under /proc
to get the information needed. It will read the file /proc/xxx/environ,
where xxx is the pid of the target process.

To verify if Proc::Info::Environment supports your operating system, run
Proc::Info::Environment::os_supported(), which returns a true value if it
is supported. If the OS is unsupported, the new() constructor will die()
with an error message listing all currently supported operating systems.

The module\'s architecture allows for easy support of other systems, if you
want support for one and know how the information is provided, drop me an
email.

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

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Proc-Info-Environment-0.01-lp154.7.1.noarch.rpm
     

Provides :
perl(Proc::Info::Environment)
perl(Proc::Info::Environment::Linux)
perl-Proc-Info-Environment

Requires :
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Proc
/usr/lib/perl5/vendor_perl/5.26.1/Proc/Info
/usr/lib/perl5/vendor_perl/5.26.1/Proc/Info/Environment
/usr/lib/perl5/vendor_perl/5.26.1/Proc/Info/Environment.pm
/usr/lib/perl5/vendor_perl/5.26.1/Proc/Info/Environment/Linux.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Proc-Info-Environment
/usr/share/doc/packages/perl-Proc-Info-Environment/Changes
/usr/share/doc/packages/perl-Proc-Info-Environment/README
/usr/share/man/man3/Proc::Info::Environment.3pm.gz
/usr/share/man/man3/Proc::Info::Environment::Linux.3pm.gz

 
ICM