++ed by:
SALVA CAMSPI UNDEF MAJENSEN MARKELLIS

136 PAUSE users
117 non-PAUSE users.

Andrew Main (Zefram)
and 1 contributors

Handy Values

SV-Body Allocation

Memory Management

GV Functions

Hash Manipulation Functions

Lexer interface

Like "lex_stuff_pvn", but takes a literal string instead of a string/length pair.

Miscellaneous Functions

Character classes There are three variants for all the functions in this section. The base ones operate using the character set of the platform Perl is running on. The ones with an _A suffix operate on the ASCII character set, and the ones with an _L1 suffix operate on the full Latin1 character set. All are unaffected by locale and by use bytes.

For ASCII platforms, the base function with no suffix and the one with the _A suffix are identical. The function with the _L1 suffix imposes the Latin-1 character set onto the platform. That is, the code points that are ASCII are unaffected, since ASCII is a subset of Latin-1. But the non-ASCII code points are treated as if they are Latin-1 characters. For example, isSPACE_L1() will return true when called with the code point 0xA0, which is the Latin-1 NO-BREAK SPACE.

For EBCDIC platforms, the base function with no suffix and the one with the _L1 suffix should be identical, since, as of this writing, the EBCDIC code pages that Perl knows about all are equivalent to Latin-1. The function that ends in an _A suffix will not return true unless the specified character also has an ASCII equivalent.

Character case changing

Memory Management

In 5.9.3, Newx() and friends replace the older New() API, and drops the first parameter, x, a debug aid which allowed callers to identify themselves. This aid has been superseded by a new build option, PERL_MEM_LOG (see "PERL_MEM_LOG" in perlhacktips). The older API is still there for use in XS modules supporting older perls.

Like Copy but returns dest. Useful for encouraging compilers to tail-call optimise.

The XSUB-writer's interface to the C memzero function. The dest is the destination, nitems is the number of items, and type is the type.

Like Zero but returns dest. Useful for encouraging compilers to tail-call optimise.

Fill up memory with a byte pattern (a byte repeated over and over again) that hopefully catches attempts to access uninitialized memory.

PoisonWith(0xAB) for catching access to allocated but uninitialized memory.

PoisonWith(0xEF) for catching access to freed memory.

PoisonWith(0xEF) for catching access to freed memory.