MasonX-Maypole - getting started (cont)

Posted on Wed Feb 9 02:59:27 2005 by mreece
getting started (cont)
so i realized i needed to set the PerlHandler (duh)
<Location /beerdb/> SetHandler perl-script PerlHandler BeerDB </Location>
(also changed all paths to beerdb for consistency, i think this may matter) however, i now get an error:
[Tue Feb 8 16:53:24 2005] [error] Can't use an undefined value as a HASH reference at /usr/local/a +pache_perl/packages/BeerDB.pm line 18. Compilation failed in require at (eval 235) line 3. [Tue Feb 8 16:53:24 2005] [error] Can't use an undefined value as a HASH reference at /usr/lib/per +l5/site_perl/5.6.1/MasonX/Maypole.pm line 160.
line 18 of BeerDB.pm is
BeerDB->config->masonx->{comp_root} = [ factory => '/usr/lib/perl5/site_perl/5.6.1/templates/factory/maypole' ];
and line 160 of Maypole.pm is
my $comp_roots = $class->config->masonx->{comp_root} || [];
am i missing a step? why is masonx undefined at this point?
Direct Responses: 73 | Write a response