SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from RedHat Other perl-5.004-0.1.i386.rpm

Env

Section: Perl Programmers Reference Guide (3)
Updated: perl 5.004, patch 04
Index 

NAME

Env - perl module that imports environment variables 

SYNOPSIS

    use Env;    use Env qw(PATH HOME TERM);
 

DESCRIPTION

Perl maintains environment variables in a pseudo-hash named %ENV. Forwhen this access method is inconvenient, the Perl module Env allowsenvironment variables to be treated as simple variables.

The Env::import() function ties environment variables with suitablenames to global Perl variables with the same names. By default itdoes so with all existing environment variables (keys %ENV). Ifthe import function receives arguments, it takes them to be a list ofenvironment variables to tie; it's okay if they don't yet exist.

After an environment variable is tied, merely use it like a normal variable.You may access its value

    @path = split(/:/, $PATH);
or modify it

    $PATH .= ":.";
however you'd like.To remove a tied environment variable fromthe environment, assign it the undefined value

    undef $PATH;
 

AUTHOR

Chip Salzenberg <chipAATTfin.uucp>


 

Index

NAME
SYNOPSIS
DESCRIPTION
AUTHOR

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector