OO caller() interface
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.
| Release | Stable | Testing |
|---|---|---|
| Fedora Rawhide | 0.100-36.fc45 | - |
| Fedora 45 | 0.100-36.fc45 | - |
| Fedora 44 | 0.100-35.fc44 | - |
| Fedora 43 | 0.100-34.fc43 | - |
| Fedora EPEL 8 | 0.100-18.el8 | - |
You can contact the maintainers of this package via email at
perl-Perl6-Caller dash maintainers at fedoraproject dot org.