The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Attempts to apply a list of attributes specified by the attrstr and len arguments to the subroutine identified by the cv argument which is expected to be associated with the package identified by the stashpv argument (see attributes). It gets this wrong, though, in that it does not correctly identify the boundaries of the individual attribute specifications within attrstr. This is not really intended for the public API, but has to be listed here for systems such as AIX which need an explicit export list for symbols. (It's called from XS code in support of the ATTRS: keyword from xsubpp.) Patches to fix it to respect attribute syntax properly would be welcome.

Embedding Functions

Loads the module whose name is pointed to by the string part of name. Note that the actual module name, not its filename, should be given. Eg, "Foo::Bar" instead of "Foo/Bar.pm". flags can be any of PERL_LOADMOD_DENY, PERL_LOADMOD_NOIMPORT, or PERL_LOADMOD_IMPORT_OPS (or 0 for no flags). ver, if specified, provides version semantics similar to use Foo::Bar VERSION. The optional trailing SV* arguments can be used to specify arguments to the module's import() method, similar to use Foo::Bar VERSION LIST.

Clear out all the active components of a CV. This can happen either by an explicit undef &foo, or by the reference count going to zero. In the former case, we keep the CvOUTSIDE pointer, so that any anonymous children can still follow the full lexical scope chain.

Optree Manipulation Functions

If cv is a constant sub eligible for inlining. returns the constant value returned by the sub. Otherwise, returns NULL.

Constant subs can be created with newCONSTSUB or as described in "Constant Functions" in perlsub.

Creates a constant sub equivalent to Perl sub FOO () { 123 } which is eligible for inlining at compile-time.

Used by xsubpp to hook up XSUBs as Perl subs. filename needs to be static storage, as it is used directly as CvFILE(), without a copy being made.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 1775:

Unknown directive: =notfor