Devel::Caller::IgnoreNamespaces(3pm)

Devel::Caller::IgnoreNamespaces3pm

Make available a magic caller() which can ignore namespaces that you tell it about

Usage

    package Foo::Bar
    use Devel::Caller::IgnoreNamespaces;
    Devel::Caller::IgnoreNamespaces::register(__PACKAGE__);

Overview

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.

Subroutines

register('packagename', 'anotherpackage', ...)

Takes a list of packages that caller() will ignore in future.

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.

Releases

7 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7–9
  2. 10–11
  3. 12–13

From libdevel-caller-ignorenamespaces-perl 1.1-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.