I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2005-02-09 00:59:27-08 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