in reply to Odd behavior: CGI and warnings
I think the key item in your post is Apache 2.0 - isn't it still a bit buggy? Anyways, warnings such as the one you encountered are trivial and usually more of a burden to fix than they are to ignore. However, i really feel compelled to have warning free code, and instead of turning off strict, i would have gotten rid of the warning like so:
However, if you can't even see the warnings, then i would seriously consider just turning warnings off. Actually, i would switch back to Apache 1.3 and wait for Apache 2.1 ;)foreach my $record (@records) { foreach my $key (keys %$record) { my $val = $record->{$key} || ''; print "$key:$val"; print $q->br; } }
I do know that extremely uses Apache 2.0 - he might be of help to you.
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Odd behavior: CGI and warnings
by michellem (Friar) on Oct 30, 2003 at 15:05 UTC |