Today I learned ...
Using unpack since perl-4.017, I never before realized that unpack "A*" also removed trailing newlines!
In reply to Re: Any caveats in using unpack to right-trim? Why isn't it advertised more?
by Tux
in thread Any caveats in using unpack to right-trim? Why isn't it advertised more?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |