in reply to The Case of the Missing .pm which isn't supposed to be there...

Well, Eval 10 is the tenth eval to be executed, if you have an eval in a loop, it will probably be the tenth time that eval is executed (even though it may be the same as eval 1). You could step through it in the debugger and see where it tries to read in simple.pm.



"Weird things happen, get used to it."

Flame ~ Lead Programmer: GMS

  • Comment on Re: The Case of the Missing .pm which isn't supposed to be there...

Replies are listed 'Best First'.
Re: Re: The Case of the Missing .pm which isn't supposed to be there...
by suaveant (Parson) on Jan 25, 2002 at 02:29 UTC
    I have used the debugger very little... and the problem is partially that I am not running the script myself when it is having this problem... fcgi is starting it...

    is there a way to track which eval I am in in the debugger? (or is just counting the eval statements as they go by good enough?)

                    - Ant
                    - Some of my best work - (1 2 3)

      As to tracking the eval, I'm not sure, but it might be helpful if you used Devel::ptkdb (Install Tk too). It provides a nice gui interface so you can see the code and track variables all at once. I find it much nicer and definately easier to use than the normal debugger.

      If worst comes to worst, could you post some of the relevant code so we can search ourselves?



      "Weird things happen, get used to it."

      Flame ~ Lead Programmer: GMS

      If you can use the Tk Debugger you can debug cgi scripts as well.

      toma has written a node on how to do this here.

      Note that you don't need Tk nor X to debug: Debugging a CGI.

              - tye (but my friends call me "Tye")