Geoffrey Young wrote:
>
> +    (my $version) = $config->server->{version} =~ m:^Apache/(\d\.\d+\.\d+):;
> +
> +    if ($version le 2.0.48) {
> +        debug("skipping error_log fixup for httpd $version");
> +        return;
> +    } 

This won't work. Remember that 2.0.48 is equivalent to chr(2).chr(0).chr(48).

You could use the terse and hackish
        if (eval($version) le 2.0.48) ...
or use a CPAN module :)
or perform a clean separation of $version into major/minor/patchelevel
and do 3 comparisons.

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

Reply via email to