Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Can't call method on an undefined value

by thargas (Chaplain)
on Nov 16, 2011 at 13:34 UTC ( #938374=note: print w/ replies, xml ) Need Help??


in reply to Can't call method on an undefined value

You're almost certainly using the Bar module before you're defining your $main::logger.

However, your example doesn't demonstrate the problem. Rather than attempting to guess, I'm going to wait for you to fix the example.

My expectation is that if you can produce an example which demonstrates the problem, you'll also work out why it happens and what to do to avoid it. If you still need help after producing the example, I'm sure that we'll be able to help you.


Comment on Re: Can't call method on an undefined value
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2014-09-22 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (177 votes), past polls