allowed spaces before and after a perl expr, added th/@scope