You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Randal L. Schwartz" <me...@stonehenge.com> on 2005/10/11 23:59:53 UTC

Bug in Apache2::PerlSections.pm - dump_special

This cost me two hours to find, and breaks @PerlConfig = ("dir","ect","tive");

In Apache::PerlSections.pm, change dump_special to:

sub dump_special {
  my($self, @data) = @_;
  $self->add_config($_) for @data;
}

Also, as written, $PerlConfig can be only one line.  Not sure if
that was the intent, and in mod_perl1 I believe newlines were properly
treated.

There are no tests for this section.  Perhaps some should be added. :(

Grumble.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<me...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!