I am mantaining a perl program for a client that I did not write.
It is a fairly complex program but the jist of it is that
is listens on a socket and responds with an appropriate
message. The program is failing with a message like:
"Can't call method "format" without a package or object reference at (eval 71832) line 1."
The problem is that the program is failing in their production environment
and I have no idea where is the program.
The real question: Is my only choice for debugging the program is
to bring it up in the debugger with "perl -d" or is there some other
way of debugging a perl program. I cannot put print statements in
because the program is to large and I don't yet know where it
is failing.
Any help would be appreciated