File: control

package info (click to toggle)
libdevel-callsite-perl 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 320 kB
  • sloc: perl: 145; makefile: 8
file content (35 lines) | stat: -rw-r--r-- 1,537 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Source: libdevel-callsite-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Salvatore Bonaccorso <carnil@debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper-compat (= 13),
               perl-xs-dev,
               perl:native
Standards-Version: 4.6.1
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdevel-callsite-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdevel-callsite-perl.git
Homepage: https://metacpan.org/release/Devel-Callsite
Rules-Requires-Root: no

Package: libdevel-callsite-perl
Architecture: any
Depends: ${misc:Depends},
         ${perl:Depends},
         ${shlibs:Depends}
Description: 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.