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

Pakket: libdevel-callsite-perl (0.10-1)

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.

Andere aan libdevel-callsite-perl gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.4)
    GNU C Library: Shared libraries
    Ook een virtueel pakket geboden door: libc6-udeb
  • dep: perl (>= 5.26.0-5)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.26.0
    virtueel pakket geboden door perl-base

libdevel-callsite-perl downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
amd64 9,9 kB37 kB [overzicht]
i386 10,1 kB37 kB [overzicht]