always save and restore scalars, since has_package_symbol isn't reliable
authorJesse Luehrs <doy@tozt.net>
Wed, 12 May 2010 05:23:13 +0000 (00:23 -0500)
committerJesse Luehrs <doy@tozt.net>
Wed, 12 May 2010 05:23:13 +0000 (00:23 -0500)
commit42fa5cfc8a6f9bac3780011ad11896bc107ed47c
tree16469a7ff4cc8e73a1ce15512640e715496f5b9c
parent6ee333b86d6a1141415a70dacb38f30f8d8e2e9b
always save and restore scalars, since has_package_symbol isn't reliable

it returns false even if a scalar has been declared but not initialized
yet, which is inconsistent with how has_package_symbol works for all
other types, but I think it's unavoidable
lib/Stash/Manip.pm