but it just seems to be adding 1 count after each loop...any suggestions?foreach $Name (sort keys %dataname) { for (APRIL, MAY, JUNE) { if ($count{$Name}) { $count{$Name}++; } } printf OUTFILE "%-50s %d\n", $Name, $count{$Interface_Name};
In reply to Re: break up the problem
by rchou2
in thread Searching Files
by rchou2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |