Hello,
I have a 355 line code that takes about 3 hours to run. I find errors like
"Use of uninitialized value in subroutine entry at meth_analysis.pl line 311"
I have 4 different arrays on this line which could have been uninitialized.
How can I set perl to change this warning to something like
"Use of uninitialized value $hash{key1}{key2} in subroutine entry at meth_analysis.pl line 311"
in other words, how can I get the uninitialized warnings to tell me which value is uninitialized? To compensate for the vague warning, I have littered my code with "if(!defined($var))" but I would prefer a better solution than this.
thanks,
-DEC