NAME

Caller::First - first|last caller from the stack.

VERSION

Version 0.01

SYNOPSIS

use Caller::First qw/caller_first/;

my @caller = caller_first();

DESCRIPTION

This is a quick module to return the first caller from the 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(); 

AUTHOR

LNATION, <thisusedtobeanemail at gmail.com>

BUGS

Please report any bugs or feature requests to bug-caller-first at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Caller-First. 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::First

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2020 by LNATION.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)