in reply to parsing error?
foreach (@lines) { #chomp; tr/\r\n//d; #like miyagawa suggested print OUTFILE $frontfill,$_,$backfill,"\n"; } [download]