[Maypole] Bringup problems with BeerDB
Dana Hudes
dhudes@hudes.org
Wed, 2 Feb 2005 14:25:24 -0500 (EST)
In an attempt to eliminate problems with Apache, libraries , PostgreSQL
and/or DBD::Pg quirks etc. I am trying to bring up the example Beer
database on Apache with mod_perl.
As you'll note I've stuck in a use Apache::Reload;
as the 1st line after the package declaration, so that I can hack on
this w/o HUPing apache.
[Wed Feb 2 14:19:47 2005] BeerDB.pm: beers method already exists in
BeerDB::Brewery
[Wed Feb 2 14:19:47 2005] BeerDB.pm: at
/usr/lib/perl5/site_perl/5.8.1/Class/DBI/Relationship/HasMany.pm line 13
[Wed Feb 2 14:19:47 2005] [error] Can't use an undefined value as a HASH
reference at
/usr/lib/perl5/site_perl/5.8.1/Class/DBI/Relationship/HasMany.pm line
51.\nCompilation failed in require at
/usr/lib/perl5/site_perl/5.8.1/Apache/Reload.pm line 132.\n
So obviously the problem is that the beers method already exists.
Well that sounds like our friend with the plural "fixing" might be at
work.