Re: finding out what is uninitialized

2004-08-03 Thread Script Monkey
Good point. Tim, how are $cat_key, $title, $url, and $code being populated? SM On Aug 3, 2004, at 9:14 AM, James Edward Gray II wrote: On Aug 3, 2004, at 9:12 AM, Gunnar Hjalmarsson wrote: where the @fund_array is defined by : push(@fund_array,"$cat_key\|$title\|$url\|$code\|"); If that's the o

Re: finding out what is uninitialized

2004-08-03 Thread Script Monkey
Here is what I do for uninitialized variables: foreach $coded (@fund_array) { if (defined($coded) { printf (FILE "$coded\n"); }else{ printf(FILE,"\n"); } } or drop off the else statement if you don't want the blank line. Rod, On Aug 3, 2004,