Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Variable Name Mistery. Who calls?

by ikegami (Patriarch)
on Oct 25, 2006 at 19:16 UTC ( [id://580639]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://580639]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-19 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found