in reply to Re^2: Did not find leading dereferencer, detected at offset 8231
in thread Did not find leading dereferencer, detected at offset 8231

The error message you posted is not a standard Perl warning or error. Therefore, the cause of the message is not a direct result of your code. It originates from Text::Balanced, and if you are not using that module directly, then you must be using a module that uses that module (like Parse::RecDescent or similar).

It is impossible to advise you how to correct your code, without seeing the code, but I would not suggest you post your 3000 lines here, so you are going to have to do some detective work and come up with a few lines of code that produce the same error. If you haven't solved it by the time you have reduce your code to < 30 lines, then post the lines that produce the problem and someone will be able to help you.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^3: Did not find leading dereferencer, detected at offset 8231

Replies are listed 'Best First'.
Re^4: Did not find leading dereferencer, detected at offset 8231
by sean_james_barry (Initiate) on Sep 16, 2006 at 14:28 UTC
    The modules that I'm using are Switch, diagnostics, sigtrap and FindBin::libs. I'm going to stop using Switch. I need to use FindBin::libs and I'm going to contact the user to see how he uses Text::Balanced. I'm not using it directly. So hopefully if I stop using Switch and I'll try debugging without using FindBin::libs. There definately seems to be a problem because everything can be working and then I put in a print statement and I get that error again.
      Switch uses Text::Balanced. Why don't you show us the switch statement related to the print statement you mentioned.