If you are as slow as I am, you may be wondering why this works and the original produced a warning.
It's becuase the original produced the warning _after_ the last non-empty string was extracted. No warning is produced when the offset is equal to the string length, hence no warning when the length is a multiple of $size
In reply to Re^2: Eliminating substr warnings
by GreyGlass
in thread Eliminating substr warnings
by ezekiel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |