Back to main page

A Brief Note on Purity warnings

Some modules, as well as depending on other perl modules, also have non-perl components. To build these modules you normally need a working compiler.

I detect these modules by looking both at their dependencies and their MANIFEST file (which should contain a list of all files in a distribution, such as here). If a distribution depends on any of the Inline modules, or if it contains any files with any of the following extensions, then it is assumed to not be "pure perl".

However if the string "PurePerl" appears anywhere in the MANIFEST, then I assume that there is a "pure perl" version *as well as* any "impure" version of the code, bundled up in the same distribution.

This is, of course, only a heuristic. You can't accurately determine a file's content from its filename. Possible errors from this heuristic include: