[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] %ENV gives no result



mask@hrnet.fr writes:
>foreach (keys %ENV) {
>    print "$_ : $ENV{$_}\n";
>}
>
>gives no result with MacPerl 5.1.3r2 on my system (7.5.3)!
>
>Is an extension or patche required for use %ENV ?
>I would need it to read cookies with $ENV{HTTP_COOKIE} in a cgi script.

Iterating over keys in %ENV is broken in 5.1.3 (it works in 5.1.4b2), but
accessing $ENV{xxx} still works.

Matthias

-----
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
   "I'm set free to find a new illusion" -- Velvet Underground

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch