use perl from env
trim whitespaces from list elements