Env::CEnv::C is a Get/Set/Unset Environment Variables on the C level. | |
Download |
Env::C Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Stas Bekman
- Publisher web site:
- http://search.cpan.org/~stas/
Env::C Tags
Env::C Description
Env::C is a Get/Set/Unset Environment Variables on the C level. Env::C is a Get/Set/Unset Environment Variables on the C level.SYNOPSIS use Env::C; my $key = "USER"; $val = Env::C::getenv($key) || ''; Env::C::setenv($key, "foobar", ); $new_val = Env::C::getenv($key) || ''; Env::C::unsetenv($key); my $ar_env = Env::C::getallenv(); print join "n", @$ar_env;This module provides a Perl API for getenv(3), setenv(3) and unsetenv(3). It also can return all the environ variables.Sometimes Perl invokes modules with underlaying C APIs which rely on certain environment variables to be set, if these variables are set in Perl and the glue code doesn't worry to set them on the C level, these variables might not be seen by the C level. This module shows what really the C level sees. Requirements: · Perl
Env::C Related Software