Subject: | pp includes way too much modules (when using 'use strict;')? |
Date: | Sun, 06 Nov 2011 17:15:00 +0100 |
To: | bug-PAR [...] rt.cpan.org |
From: | Frank Reppin <frank [...] undermydesk.org> |
Hi list,
I just wondered why my exe binaries are so much
bigger than they used to be with older releases
of PAR::Packer and Module::ScanDeps.
A very simple test:
<test.pl>
#!perl -w
use strict;
print "hello world...\n";
</test.pl>
pp -vvv -o test.exe test.pl
(its output attached as 'pp-vvv-result.txt')
Perl is 5.12.3 (strawberry)
(see attached perl-version.txt)
PAR::Packer is 1.010
Module::ScanDeps is 1.05
(see attached perldoc-perllocal.txt)
ends up in an approx. 12MB exe file including virtually
all modules that come with my perl distribution (strawberry perl
5.12.3) ;).
Omitting the 'use strict' pragma produces a binary of
reasonable size (couldn't yet test this on a machine without perl
installed).
The expected size should be around 2-2.5MB and I've verified, that
older releases of PAR [1.008] and ScanDeps [0.98] do indeed produce
quite smaller (working) binaries.
I conclude that this seems to be a 'weirdness' - or did I miss something
that may have changed (with regard to options to pp) in between?
Scanning the FAQ/maillist/bugreports doesn't give me any hints so far...
Thankyou!
cheers,
frank\
--
43rd Law of Computing:
Anything that can go wr
fortune: Segmentation violation -- Core dumped
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.