Tim McGeary wrote:
I have two arrays that I am printing to a file and I get the "Use
of uninitialized value..." warning. But I get that for less than
100 of 3000+ lines. Is there a way that I can log what data is
uninitialized. Here's the snippet of code I am using:
foreach $coded (@fund_array) {
printf (FILE "$coded\n");
}
Why are you using the printf() function? If you don't know, try
print() instead.
where the @fund_array is defined by :
push(@fund_array,"$cat_key\|$title\|$url\|$code\|");
If that's the only way @fund_array gets populated, there is no way it
can contain undefined elements.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>