my @claim_records = (); while () { push(@claim_records, read_record($_)); }