This op used when the method name is known at compile time...
Thanks, that's the nugget that failed to penetrate my noggin. The code line triggering this message,
$self->{$Foo}{$Bar} = $self->{$Baz}{$undefined_scalar}->method;
is syntactically the same as the real one (just the names changed to protect the guilty). I knew $undefined_scalar was the problem from the start, I just missed the hint about method names known at compile time versus those not known until run time. (Though I'm scratching my head to figure out when that wouldn't be patently obvious from the statement in question, but I suppose function references and other obscura can make for a hazy day.)
At least my initial intuition was in the right direction...known at compile time is part of the context where the error/warning occurred.
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re^2: Perl Error Messages Explained?
by QM
in thread Perl Error Messages Explained?
by QM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |