Letter P

perl-Perl6-Caller - OO caller() interface

Website: https://metacpan.org/release/Perl6-Caller
License: GPL+ or Artistic
Vendor: Alcance Libre, Inc.
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.

Packages

perl-Perl6-Caller-0.100-12.fc14.al.src [10 KiB] Changelog by Fedora Release Engineering (2018-02-09):
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Listing created by Repoview-0.6.6-6.fc14.al