Strawberry perl and pp file extension

1.9k views Asked by At

Could Someone explain what are the .pp files on strawberry perl directory ,

for example i have the following file 64bit-5.16.0.1.pp and many other files with this extension .

what this extension means (.pp) are those the builds of strawberry and if yes can i build some .pp file of my own with my extra modules?

2

There are 2 answers

0
kmx On BEST ANSWER

64bit-5.16.0.1.pp file is part of Perl::Dist::Strawberry which is used to build strawberry perl distribution (it is not part of standard strawberry installation, you have to install it via cpan or cpanm command).

The *.pp files are in fact a build configuration defining what components are bundled into strawberry perl distribution.

You can create a modified version of any *.pp file (see examples) and create your own strawberry-like perl distribution. Just install Perl::Dist::Strawberry and use perldist_strawberry command with proper parameters - see perldist_strawberry usage

0
mwarin On

.pp could be for "Pure Perl"? There are cases where a module comes in several implementations, like an XS module and a pure perl module. If so, there might be a difference in speed, where a XS tends to be faster.