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


in reply to Re^2: Printing a String (TOO stupid?)
in thread Printing a String (TOO stupid?)

trim :) How do I remove whitespace at the beginning or end of my string? s/\s+$//;