OO caller() interface
14.96 KB
built 2026-10-16 23:45:56 GMT
Description
By default, this module exports the caller function. This automatically
returns a new caller object. An optional argument specifies how many stack
frames back to skip, just like the CORE::caller function. This lets you do
things like this:
print "In ", caller->subroutine,
" called from ", caller->filename,
" line ", caller->line;
If you do not wish the caller function imported, specify an empty import list
and instantiate a new Perl6::Caller object.
use Perl6::Caller ();
my $caller = Perl6::Caller->new;
print $caller->line;
Note: if the results from the module seem strange, please read
perldoc -s caller carefully. It has stranger behavior than you might be aware.
Dependencies
10 totalRequires8
- perl(overload)
- perl(strict)
- perl(warnings)
- perl-libs
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides2
- perl(Perl6::Caller) = 0.100
- perl-Perl6-Caller = 0.100-36.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
6
Files 1–6 of 6
Component of
buildroots that installed this RPMNo Buildroots
