^L ( identifies beginning of record in file)
John Sample
123 MY ROAD
Somewhere, Country ZIP
account#
account#
begin-period-date end-period-value
message to include 1
message to include 2
(line 17 should begin here as detail file with varying length. can be 1 line or 100 lines)
(EOE) - which is end of record marker
####
####
open(ADDRESSIN, "filename") || die "could not open file for read: $!\n";
while($line = )
"this is where I need help"
$line1 =
$line2 =
####
printf "%-40s%-40s\n", $line1, $line2,$line3;