Friends, 

Here is a basic question on %ENV hash. I gave a pronto statement as thus:

perl -e "print $ENV{ComputerName};" 

and it printed the correct information.

On my MS-DOS prompt when I gave the SET command, I noticed that the
environmental variable for ComputerName to be denoted as COMPUTERNAME
(all-upper case). I am wondering how I am getting the right answer when I
gave the hash key as 'ComputerName' and not as 'COMPUTERNAME' as Hash Keys
are case-sensitive.

Is there an implicit case-casting going on underneath?

Thanks,
Rex

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to