FindPerl

Finds a Perl interpreter. Perl is a general-purpose, interpreted, dynamic programming language.

Result Variables

This module defines the following variables:

Perl_FOUND

True if the Perl executable was found. For backward compatibility, the PERL_FOUND variable is also set to the same value.

PERL_VERSION_STRING

The version of Perl found.

Cache Variables

The following cache variables may also be set:

PERL_EXECUTABLE

Full path to the perl executable.

Examples

Finding the Perl interpreter:

find_package(Perl)