Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How to debug "undefined subroutine"

by tospo (Hermit)
on Aug 01, 2011 at 08:17 UTC ( #917780=note: print w/ replies, xml ) Need Help??


in reply to How to debug "undefined subroutine"

You don't need to post the specific code but you could post the "header" of the script with the "use" statements and the headers of the modules involved including a mock (empty) sub. In fact, I would recommend even for your own error-finding strategy to try and re-create the problem with as little code as possible - just some mostly empty modules with subs that just print "hello" or something. If you can re-create the problem, you have an easy set-up to debug and post it here.


Comment on Re: How to debug "undefined subroutine"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-09-01 11:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (6 votes), past polls