Caller::Hide - hide packages from stack traces
package My::Wrapper; use Caller::Hide qw[ hide_package ]; hide_package(__PACKAGE__);
Set $pkg as hidden, it will no longer appear in stack traces and direct calls to caller.
caller
Set a previously hidden package to no longer be hidden.
Szymon Nieznański <snez@cpan.org>
Original caller override code adapted from Hook::LexWrap.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Caller::Hide, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Caller::Hide
CPAN shell
perl -MCPAN -e shell install Caller::Hide
For more information on module installation, please visit the detailed CPAN module installation guide.