I am taking over a fairly large CGI project that has several bugs in it. I believe that all these bugs are the result of not ensuring that the variables actually had data in them before using them.
I am in the process of moving the system to "use strict;" but, that will take some time because of the length of the code and I need a quick fix for some of these errors.
Is there a way that I can find all the variables that are used and the values assigned to them, including the function that they are being used in? Because of the nature of how the program was developed, I don't have an easy way of visually finding each variable being used.