Let's say I have a function
MyFunc[x_] := x + y
I can do this:
Block[{y = 1}, MyFunc[1]]
which gives the result 2 correctly.
Now, what to do if I want to save {y = 1} into a variable, something like
var = {y = 1};
Block[var, MyFunc[1]]
This wouldn't work. I've experimented with different forms of Hold, but couldn't make it work.

