ExtUtils::PerlPP is a Perl Preprocessor.
SYNOPSIS
use ExtUtils::PerlPP;
my $config = { 'version' => $VERSION,
'driver' => $DRIVER };
# The long and winding road ...
my $self = ExtUtils::PerlPP->new();
$self->{'in_fh'} = IO::File->new('file.PL', 'r');
$self->{'out_fh'} = IO::File->new('file', 'w');
$self->{'config'} =
$self->parse();
# And now a short cut for the same:
ppp('file.PL', 'file', $config);
Perl's installation suite, ExtUtils::MakeMaker, contains a mechanism for installing preparsed files, so-called PL files: If the MakeMaker utility detects files with the extension .PL then these files are executed by make, usually creating a file of the same name, except the .PL extension.
Writing these PL files is usually always the same, for example a typical .PL file might look like this:
my $script =
Product's homepage
Requirements:
· Perl