Sorry - I was unclear in my first reply. You need to set $/ to a reference to the number of bytes:
$/ = \50;
This will make each "line" exactly 50 bytes long, except for the last "line". Also see perlvar on $/.
In reply to Re^3: Out of Memory - Line of TXT too large
by Corion
in thread Out of Memory - Line of TXT too large
by MajinMalak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |