Help for this page
# localize local $a= 42; ... # restore # works like $a= $saved;
local $x; *x= \$y; # point the scalar slot to alias $y #... # $x goes back to pointing to its own slot when restoring.