in reply to How to delete trailing spaces from array elements?
Hi,
Just one more way to do the same :)
@arr1 = map{ (s/\s*$//)&&$_}@arr1;
Cheers !
--VC
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to delete trailing spaces from array elements?
by ikegami (Patriarch) on Jul 31, 2007 at 15:13 UTC | |
by mart (Initiate) on Jul 31, 2007 at 16:54 UTC |