Try it this way.. see the code below.
open ISCD,";
#This gets ISCD closed and safely out of harms way.
close (ISCD);
open NEW,">.pl";
foreach $line (@temparray){
chomp $line;
@fields = split //, $line;
printf NEW '%1.1s' x 44, @fields[0..33,290..299];
}
close NEW;
ex
> One problem (sorry), the program only reads the first line and not the
> rest. Any suggestions, would be very much apprecated.
>
> #
> I have a input file, below is a few *LINES* of example of the input file:
>
> 168127407932117187M000