in reply to Re: Program slows dramatically!
in thread Program slows dramatically!

It was indeed the problem with undefined values! I replaced the unusual fixer line with this code, and things worked fine.
$records->[$i]->{$field} = "" if !defined $records->[$i]->{$field} +;
The undefined values were getting in there because i was pulling the records from MySQL, and there are null fields.

Thanks much.