This module allows you to execute code when perl finished compiling the surrounding scope. WWW: https://metacpan.org/release/B-Hooks-EndOfScope