> How do I please get the fields to align left please; At the moment the output of the fields align right; <right to left> ######################################################## 113418V Gary O'Callag 407358 OVTQ WV113394 Clive Butler 40528 PTYUR ######################################################## > I want the output to be; <left to right> ######################################################## 113418V Gary O'Callag 407358 OVTQ WV113394 Clive Butler 40528 PTYUR ######################################################## > <snip> programme so far which > ######################################################## > open CSV,"<NTLACTIVE.CSV;1" or die "NTLACTIVE.CSV;1",$!; > open NEW,">a.pl"; > while($line=<CSV>){ > chomp $line; > my @fields = split ',',$line; > printf NEW"\n%7.7s%10.10s%35.35s%15.15s", > $fields[0],$fields[1],$fields[2],$fields[3]; > } > close CSV; > close NEW; > exit; > ######################################################## > > Any suggestations would be very much apprecated. > > Thanks, > Kind Regards, > GD.