in reply to
Re^3: Reference to guard not released
in thread
Reference to guard not released
You are missing the point of what
Scope::Guard
is. Scope::Guard is not for guarding variables and it does not store any references beside the closure. But the closure does keep references. See my other answer.
Comment on
Re^4: Reference to guard not released
In Section
Seekers of Perl Wisdom