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

[MacPerl] Help: PCGI and %ENV




I just recently downloaded the latest Macperl 5.1.0r2 (21Oct96)
and am using the PCGI extensionf from 06Feb96...

I have a simple cgi script to dump out %ENV in <UL></UL> (a
classic)... which worked on an older (5.0.7) just fine... but now,
printing out the entire array 'print %ENV;' or using 'foreach $k (keys
%ENV) {print "$k - $ENV{$k}}' will not show anything on output... UNLESS
they were previously accessed, and then only those which were accessed
would be printed (ie. if i first print $ENV{'REQUEST_METHOD'} and see
"GET", then only this entry in the array will get printed by the
'foreach (keys %ENV)' method)

anyway, I don't think this problem has been mentioned here, just hoping
someone has seen this and solved it already... and maybe I'll feel
really stupid... :-)

BTW I know all the 'usual' variables are being set by the PCGI code
because I turned on the Logging option and they show up there...

Thanx,
John
-- 
+-------------------------.ooo0-------------------------------------+
| John Liberty            (   )   0ooo.    Internet: jdl@Kodak.COM  |
| Software Engineer        \ (    (   )    Phone   : (716) 726-9073 |
| Eastman Kodak Company     \_)    ) /     Fax     : (716) 726-7295 |
+---------------------------------(_/-------------------------------+