Skip to content
Sections
>> Trisquel >> Packages >> aramo >> perl >> libdevel-callsite-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libdevel-callsite-perl  ]

Package: libdevel-callsite-perl (1.0.1-1build4)

Perl module to get caller return OP address and Perl interpreter context

Devel::Callsite module provides subroutines to get the caller return OP address and perl interpreter context.

The callsite() function returns the OP address of the caller, a number, one level up from where it was called. It's useful for functions that need to uniquely know where they were called, such as Every::every(); see Every. Or it can be used to pinpoint a location with finer granularity than a line number (see http://www.perlmonks.com/?node_id=987268). In conjunction with an OP tree disassembly you can know exactly where the caller is located in the Perl source.

The context() function returns the interpreter context as a number. This is a fairly unique number together with the call site.

Other Packages Related to libdevel-callsite-perl

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.34)
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: perl
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.34.0
    virtual package provided by perl-base

Download libdevel-callsite-perl

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 11.9 kB48 kB [list of files]
arm64 11.7 kB39 kB [list of files]
armhf 11.3 kB39 kB [list of files]
ppc64el 11.7 kB159 kB [list of files]