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


in reply to chop from front and back

substr, chop, tr (if you just want to strip the quotes) and s come to mind.