in reply to Can you override lexically scoped variables when sub-classing a module.

Does p1 access $var1 directly? Otherwise you could override get_var1. (Possibly with a default SUPER call unless it has been set in p2).

Cheers