Hello,
$ENV allows to access to environment variables. Under MS-DOS, command
"env" gives all environment variables.
For example, to output PATH environment variable in a Perl script:
print $ENV{'PATH'}
"Bradshaw, Brian" wrote:
>
> Hi list.
>
> I am trying to learn PERL and decipher some code somone else wrote. I have
> the code snip -- $ENV{'QUERY_STRING'} --
> I have not found this in the archives, so I am hoping someone will answer
> this:
>
> I cannot figure out exaclty what the ENV is.The book says it contains the
> current environment. OK, but what is in this environment. I can't find info
> what the environment consists of. What does the 'Query_String' mean?
>
> Please help me out? Thanks in advance.
>
> Brian Bradshaw
> Systems Engineer
> McGraw-Hill Education
> McGraw-Hill Companies
> 860-409-2603
> [EMAIL PROTECTED]
--
--------------------------------------------------------
Jean-Matthieu Guerin
Brime Ingenierie
phone: 33-1-4898 8230
[EMAIL PROTECTED]
--------------------------------------------------------