With default settings that function looks for a trailing "\n" character and thus trims in a portable way.
Did it use to say something different?
In reply to Re^3: Clever Padding (chomp, Win32)
by ikegami
in thread Clever Padding
by iweindesmedt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |