OO caller() interface
21.49 KB
built 2026-10-16 23:45:46 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
14 totalRequires13
- coreutils
- perl(Module::Build)
- perl(Test::More)
- perl(Test::Pod) >= 1.14
- perl(Test::Pod::Coverage) >= 1.04
- perl(lib)
- perl(overload)
- perl(strict)
- perl(warnings)
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- perl-Perl6-Caller = 0.100-36.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| Perl6-Caller-0.100.tar.gz | 4.87 KB |
| perl-Perl6-Caller.spec | 6.53 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
