http://www.perlmonks.org?node_id=375564


in reply to Re^3: In search of a better way to trim string length
in thread In search of a better way to trim string

Nope, you missed nothing, i missed something :-) Never mind that code then, i'll leave it in case somebody finds it either useful or inspiring.