in reply to Re^2: Variable Name Mistery. Who calls?
in thread Variable Name Mistery. Who calls?
The traditional message is
Can't locate object method "nope" via package "Foo" (perhaps you forgo +t to load "Foo"?) at file.pl line 4.
Why won't the following suffice?
Can't locate object method "nope" (perhaps you forgot to specify "nope +" to Available_Param_List) at file.pl line 4.
Chances are you won't be calling nope more than one time per line, so you'll know exactly which object is giving the error.
Use Carp's croak to make the message appear to originate from the calling line.
|
|---|