|
From: Chris W. <ch...@cw...> - 2001-10-19 13:59:49
|
* Jochen Lillich (jl...@te...) [011019 08:29]: > Hi, > > not until working with OI, I found that enclosing critical code parts > in eval blocks keeps my program from crashing. > > But now, I ran into problems. I get the following error on Apache > startup: > > (eval 214): Odd number of elements in hash assignment at (eval 214) > line 1 > > How am I supposed to find the file and line where the error occurs if > Perl sees the eval block as an isolated script? This is almost certainly occurring in SPOPS when it creates the classes using SPOPS::ClassFactory. The best thing to do: edit SPOPS.pm and set DEBUG to 1. This way you should see a running commentary on what classes are being built and be able to pinpoint which configuration is giving you headaches. Thanks, Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |