[Maypole] Trouble with beerdb
Jesse Sheidlower
jester@panix.com
Sat, 6 Mar 2004 17:18:12 -0500
On Sat, Mar 06, 2004 at 03:44:09PM -0600, Michael D. Ivey wrote:
> I'm having pretty consistent trouble getting BeerDB to work.
> After following the examples, I get the following error in
> apache/error.log:
>
> [Fri Mar 5 22:43:03 2004] [error] Can't locate object method "set_db" via
> package "BeerDB::Beer" at
> /home/ivey/perl/share/perl/5.8.3/Class/DBI/Loader/mysql.pm line 23.
> Compilation failed in require at (eval 14) line 3.
> [Fri Mar 5 22:43:03 2004] [error] Can't use an undefined value as an ARRAY
> reference at /home/ivey/perl/share/perl/5.8.3/Maypole.pm line 41.
>
> I get the same error with SQLite.
Do you have Class::DBI::mysql (or ::SQLite) installed? That sounds
like it's the cause of this.
Jesse Sheidlower