Help for this page
# Save a reference to the original variable: *nothingToSeeHere::var= \$var; ... *var= \undef; # (but see footnote) # Restore the previous instance (and thus the previous value): ON_SCOPE_EXIT { *var= \$nothingToSeeHere::var; }