in reply to Re: Re: Re: Re: Global symbol requires explicit package name
in thread Global symbol requires explicit package name
Can't call method "%s" without a package or object reference
(F) You used the syntax of a method call, but the slot
filled by the object reference or package name con
tains an expression that returns a defined value which
is neither an object reference nor a package name.
Something like this will reproduce the error:
$BADREF = 42;
process $BADREF 1,2,3;
$BADREF->process(1,2,3);
Well, I guess that leaves me a bit cold, though -- the example is a bit contrived and its relation to the case at hand is far from obvious. Nickd_69's OP (and his various replies) should give enough info to figure out how this diagnostic applies to his particular case.
Could anyone enlighten us as to what this really means (and why one of the alternatives that I (cough) guessed at (ahem) seemed to solve the problem)? Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re6: Global symbol requires explicit package name
by rinceWind (Monsignor) on Aug 15, 2003 at 11:26 UTC |