Hi Neil,

> I am seeing errors in my apache logs which appear to be 
> within Embperl 
> code, and yet the error line numbers do not match up with 
> what is in the 
> code. For example, I might see
> 
> Can't call method "prepare" on an undefined value at line 182 
> in Docs.epl
> 
> But at line 182, that is in the middle of the qq{} for 
> preparing a query 
> - i.e. it's not calling prepare at that line. It's true there is a 
> prepare statement nearby, but then again I have prepare statements 
> peppered throughout my code. It doesn't seem to be a simple 
> "off by one" 
> error.

I see various permutations of this as well with 2.2. Generally though I
haven't spent much time looking into it as its usually pretty obvious
where the nearby line of code is (usually within one or two statements).

As you say, it certainly can be a little frustrating if you've got
multiple possible culprit statements nearby :)

Idly, I wonder if its an Embperl::Object-specific issue or Embperl code
in general. Anyone else seen this? Are you using E::Object?

Cheers,

Andrew


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to