David Cantrell > Devel-Caller-IgnoreNamespaces-1.0 > Devel::Caller::IgnoreNamespaces

Download:
Devel-Caller-IgnoreNamespaces-1.0.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.0   Source  

NAME ^

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

SYNOPSIS ^

    package Foo::Bar

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

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.

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.

AUTHORS, COPYRIGHT and LICENCE ^

This module is maintained by David Cantrell <david@cantrell.org.uk> and based almost entirely on code by Damian Conway.

Copyright 2001-2008 Damian Conway

Documentation and tests and some code copyright 2009 David Cantrell

You may use, modify and distribute this code under either the Artistic Licence or the GNU GPL version 2. See the ARTISTIC.txt or GPL2.txt files for the full texts of the licences.

syntax highlighting: