One character each time, why not? Perl already buffers the file so getc should be faster than a lot of magic with substr (or unpack).
In reply to Re: Re: character-by-character in a huge file
by ambrus
in thread character-by-character in a huge file
by mushnik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |