FindPerl

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

結果變數

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.

快取變數

The following cache variables may also be set:

PERL_EXECUTABLE

Full path to the perl executable.

範例

Finding the Perl interpreter:

find_package(Perl)