in reply to Re^2: RegEx needed
in thread Efficient trimming of trailing whitespace from array elements?
If I'd suggested a for someone would have pointed out it's not Perlish ;-) Yes, I'm aware I'm making a copy. If one is concerned about performance though, it would be better to initialize the array with data not containing the trailing whitespace in the first place rather than having to fix it afterwards.
Just my 2 cents, -gjb-
|
|---|