> my %temp = $apache->headers_in;
> foreach (keys %temp) {
> print $temp{$_};
> }
this should be:
my $temp = $apache->headers_in;
foreach (keys %$temp) {
print "$_ $temp->{$_}\n";
}
just because you can do it but nobody really talks about it, this is as good
a place t
Ged Haywood wrote:
Hi there,
On Sat, 15 Nov 2003, [iso-8859-1] "SUCH SANMART?N, GERARD" wrote:
i'm trying to substitute my old cgi %ENV with
$r->headers_in ...
my %temp = $apache->headers_in;
Isn't $apache->headers_in a hashref?
Yes. It returns an APR::Table object, which is a also a tied h
Hi there,
On Sat, 15 Nov 2003, [iso-8859-1] "SUCH SANMARTÍN, GERARD" wrote:
> i'm trying to substitute my old cgi %ENV with
> $r->headers_in ...
>
> my %temp = $apache->headers_in;
Isn't $apache->headers_in a hashref?
73,
Ged.
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: