The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Caller::Reverse - reverse the caller stack.

VERSION

Version 1.00

SYNOPSIS

        use Caller::Reverse qw/callr caller_first/;

        my @caller = caller_first();

        my @callr = callr(2);

DESCRIPTION

This is a quick module that reverses the caller stack.

EXPORT

A list of functions that can be exported.

caller_first

Returns the first caller from the stack. In scalar context this will return the package name and in list context you will get the full caller response. See https://perldoc.perl.org/functions/caller.html for more information.

        my $package = caller_first();
        my @caller = caller_first(); 

callr

The reverse order of caller.

AUTHOR

LNATION, <lnation at cpan.org>

BUGS

Please report any bugs or feature requests to bug-caller-reverse at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Caller-Reverse. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Caller::Reverse

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2020->2021 by LNATION.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)