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.

Has anybody else seen this kind of problem? It's not always wrong - sometimes I can see that the line has a call to the function mentioned in the error. Other times it seems to be referring to the preceding line. But other times, like in the first example, it just seems to be pointing to the middle of a multiline qq{} (i.e. text).

This is with latest Embperl 2.3, built from tarball.

Thanks,

Neil

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

Reply via email to