That should get the multiline record string, process it by-line, and push the corresponding field into an AoA. What needs to be added is the processing for ZIP code since it's the last field of the last row in a record.my @fields; ... foreach my $row (@data) { @string = split(/ +/); for (0..$#string) { push @{ $fields[$_] }, $string[$_]; } } ...
--------------------------------
An idea is not responsible for the people who believe in it...
In reply to Re^2: Data Salad Address Problem
by bofh_of_oz
in thread Data Salad Address Problem
by SamCG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |