logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Devel::Caller::IgnoreNamespaces - make available a magic caller() which can ignore namespaces that you

Bugs And Feedback

       Please report any bugs using <http://rt.cpan.org>.  The best bug reports include a file with a test in it
       that fails with the current code and will pass once the bug is fixed.

       I welcome feedback, especially constructive criticism, by email.

       Feature requests are more likely to be accepted if accompanied by a patch and tests.

Description

       If your module should be ignored by caller(), just like Hook::LexWrap is by its magic caller(), then call
       this module's register() subroutine with its name.

Name

       Devel::Caller::IgnoreNamespaces - make available a magic caller() which can ignore namespaces that you
       tell it about

Subroutines

register('packagename','anotherpackage',...)
       Takes a list of packages that caller() will ignore in future.

Synopsis

           package Foo::Bar

           use Devel::Caller::IgnoreNamespaces;
           Devel::Caller::IgnoreNamespaces::register(__PACKAGE__);

See Also