Main > Programming > Libraries >

ExtUtils::PerlPP 1.2219

ExtUtils::PerlPP 1.2219

Sponsored Links

ExtUtils::PerlPP 1.2219 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.19 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 497
Date added: 2007-08-09
Publisher: Jochen Wiedmann

ExtUtils::PerlPP 1.2219 description

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);

Perls 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 = <<SCRIPT;
... # True file following here
SCRIPT

# Modify variable $script, depending on configuration, local
# site or whatever
...

if (!open(FILE, ">file") || !(print FILE $script) ||
!close(FILE)) {
die "Cannot write file: $!";
}

But in essence, what else is this than a Perl preprocessor?
Traditionally you have to write such a Perl preprocessor for yourself all the time, although I have found that they always do the same, for example:

-

Fix defaults, for example installation paths.

-

Including or excluding code sections. It is a matter of taste whether one likes to see

if ($] < 5.003) {
# Thirty lines of code following here
...
} else {
# A single line of code
...
}

when already using Perl 5.005. I dont.

ExtUtils::PerlPP 1.2219 Screenshot

Advertisements

ExtUtils::PerlPP 1.2219 Keywords

Bookmark ExtUtils::PerlPP 1.2219

Hyperlink code:
Link for forum:

ExtUtils::PerlPP 1.2219 Copyright

WareSeeker periodically updates pricing and software information of ExtUtils::PerlPP 1.2219 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of ExtUtils::PerlPP 1.2219 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
ExtUtils::configPL is a Perl extension to automagically configure Perl scripts. Free Download
ExtUtils::CBuilder is a Perl module to compile and link C code for Perl modules. Free Download
ExtUtils::Embed is a Perl module with utilities for embedding Perl in C/C++ applications. Free Download
ExtUtils::F77 is a simple Perl interface to F77 libs. Free Download
ExtUtils::ParseXS is a Perl module that converts Perl XS code into C code. Free Download
ExtUtils::SVDmaker is a Perl module to create CPAN distributions. Free Download
ExtUtils::ModuleMaker::PBP is a Perl module to create a Perl extension in the style of Damian Conways Perl Best Practices. Free Download
ExtUtils::MakeMaker is a Perl module that can help you create a module Makefile. Free Download