use Sub::Information; print inspect(\&coderef)->package;