Handy Values

Miscellaneous Functions

Character classes

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 perlhack). 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 pattern (byte 0xAB over and over again) that hopefully catches attempts to access uninitialized memory.