$var=~tr/\n\r//d; $var=~s/^\s+//;