Re: "Did not find leading dereferencer" - new findings to an old puzzle
- From: Ben Morrow <benmorrow@xxxxxxxxxxxxx>
- Date: Thu, 2 Nov 2006 17:10:32 +0000
Quoth "Ronny" <ro.naldfi.scher@xxxxxxxxx>:
Ferry Bolhar schrieb:
In this case, it is imported from an other module, but this has nothing
to do with the "Dereferencer" error, because on the first example I
mentioned, I got that error message in the context of Perl standard
This error is reported by the "Text::Balancer" module, it doesn't
come from the Perl core:
"Did not find leading dereferencer":
"extract_variable" was expecting one of '$', '@', or '%' at the
start of a variable, but didn't find any of them.
Maybe this will help you?
This doesn't make any sense. First, I don't include in my programs any
Text:: stuff. Second, this would not explain why the error message
changes to the real one, if, say, I remove one comment line from the
source code.
Are you by any chance using any modules that set up source filters?
Switch.pm, perhaps? These often use Text::Balanced to do their work, and
it isn't quite as good at parsing Perl as it might be.
As usual, if you reduce your script to the *minimal* example which
reproduces the problem (yes, in this case this might be a lot of work),
and post it here, I'm sure someone can tell you what's going on.
Ben
--
It will be seen that the Erwhonians are a meek and long-suffering people,
easily led by the nose, and quick to offer up common sense at the shrine of
logic, when a philosopher convinces them that their institutions are not based
on the strictest morality. [Samuel Butler, paraphrased] benmorrow@xxxxxxxxxxxxx
.
- Follow-Ups:
- References:
- Prev by Date: Re: Abysmal performance of Net::SFTP (and I have GMP & Pari)
- Next by Date: Re: SQLPlus with Perl
- Previous by thread: Re: "Did not find leading dereferencer" - new findings to an old puzzle
- Next by thread: Re: "Did not find leading dereferencer" - new findings to an old puzzle
- Index(es):
Relevant Pages
|