Ok, if you insist:
$/=' ';for(@arr1){1while chomp}
Is 8 chars shorter. ;-)
In reply to Re^3: How to delete trailing spaces from array elements?
by radiantmatrix
in thread How to delete trailing spaces from array elements?
by rcu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |