You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by go...@apache.org on 2004/08/09 02:17:05 UTC
cvs commit: modperl-2.0/lib/Apache PerlSections.pm
gozer 2004/08/08 17:17:05
Modified: lib/Apache PerlSections.pm
Log:
Fix a bug in <Perl> sections with multiple aliases in a
virtualhost container.
Thread: http://marc.theaimsgroup.com/?t=109176430600002
Reported by : Kim Goldov <kg...@goldov.com>
Revision Changes Path
1.6 +6 -1 modperl-2.0/lib/Apache/PerlSections.pm
Index: PerlSections.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/Apache/PerlSections.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- PerlSections.pm 9 Jul 2004 08:01:20 -0000 1.5
+++ PerlSections.pm 9 Aug 2004 00:17:05 -0000 1.6
@@ -172,7 +172,12 @@
$self->add_config("$name $$entry\n");
}
elsif ($type eq 'ARRAY') {
- $self->add_config("$name @$entry\n");
+ if (grep {ref} @$entry) {
+ $self->dump_entry($name, $_) for @$entry;
+ }
+ else {
+ $self->add_config("$name @$entry\n");
+ }
}
elsif ($type eq 'HASH') {
$self->dump_hash($name, $entry);
Re: cvs commit: modperl-2.0/lib/Apache PerlSections.pm
Posted by "Philippe M. Chiasson" <go...@ectoplasm.org>.
Stas Bekman wrote:
> gozer@apache.org wrote:
>
>> gozer 2004/08/08 17:17:05
>>
>> Modified: lib/Apache PerlSections.pm
>> Log:
>> Fix a bug in <Perl> sections with multiple aliases in a
>> virtualhost container.
>>
>> Thread: http://marc.theaimsgroup.com/?t=109176430600002
>
>
> don't forget >> Changes
>
Oupss, taken care of.
Re: cvs commit: modperl-2.0/lib/Apache PerlSections.pm
Posted by Stas Bekman <st...@stason.org>.
gozer@apache.org wrote:
> gozer 2004/08/08 17:17:05
>
> Modified: lib/Apache PerlSections.pm
> Log:
> Fix a bug in <Perl> sections with multiple aliases in a
> virtualhost container.
>
> Thread: http://marc.theaimsgroup.com/?t=109176430600002
don't forget >> Changes
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org