Pass expression to manipulate local variable

According to an answer in another thread

eval always happens at global scope

So the question remains: how to pass an Expr to work on local scope?