B::Hooks::OP::Check provides a C API into PL_check, part of perl’s core.
This module provides a C API for XS modules to hook into the callbacks
of “PL_check”. PL_check is an array indexed by opcode number (op_type)
that contains function pointers invoked as the last stage of optree
compilation, per op.