This module provides a convenient way to perform cleanup or other forms of resource management at the end of a scope.

WWW: https://metacpan.org/pod/Scope::Guard
