From 3fe0b0765144ea1a88a73e1aaf149cea290708a0 Mon Sep 17 00:00:00 2001 From: Aaron Trevena Date: Wed, 12 Apr 2006 13:57:40 +0000 Subject: [PATCH] possible fix for components, added another test to MANIFEST git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@475 48953598-375a-da11-a14b-00016c27c3ee --- MANIFEST | 1 + lib/Maypole.pm | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MANIFEST b/MANIFEST index ea6ab4e..a838719 100644 --- a/MANIFEST +++ b/MANIFEST @@ -38,6 +38,7 @@ META.yml Module meta-data (added by MakeMaker) README AUTHORS t/01basics.t +t/01.httpd-basic.t t/02pod.t t/03podcoverage.t t/apache_mvc.t diff --git a/lib/Maypole.pm b/lib/Maypole.pm index 64e5a1a..59b5197 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -487,8 +487,9 @@ You should not fully qualify the Maypole URLs. sub component { my ( $r, $path ) = @_; - my $self = bless { parent => $r }, ref $r; + my $self = bless { parent => $r, config => $r->{config} }, ref $r; my $url = URI->new($path); + warn "path : $path\n"; $self->{path} = $url->path; $self->parse_path; $self->params( $url->query_form_hash ); -- 2.39.2