in reply to Re^2: Need to read certain number of chars in a filein thread Need to read certain number of chars in a file
The same in Perl:
print getc() for 1..100; [download]