Hello again,

o.k., first with regard to the version stuff:

[user@server bin]$ perl -E 'use pp; say $INC{"pp.pm"}; say $pp::VERSIO +N;' /usr/local/share/perl5/pp.pm 1.050 [user@server bin]$ which pp /usr/local/bin/pp [user@server bin]$ pp -V PAR Packager, version 1.050 (PAR version 1.016) Copyright 2002-2009 by Audrey Tang <cpan@audreyt.org> Neither this program nor the associated "parl" program impose any licensing restrictions on files generated by their execution, in accordance with the 8th article of the Artistic License: "Aggregation of this Package with a commercial distribution is always permitted provided that the use of this Package is embe +dded; that is, when no overt attempt is made to make this Package's interfaces visible to the end user of the commercial distribut +ion. Such use shall not be construed as a distribution of this Pack +age." Therefore, you are absolutely free to place any license on the resulti +ng executable, as long as the packed 3rd-party libraries are also availab +le under the Artistic License. This program is free software; you can redistribute it and/or modify i +t under the same terms as Perl itself. There is NO warranty; not even f +or MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [user@server bin]$ which perl /usr/bin/perl [user@server bin]$ perl -vperl -E 'use pp; say $INC{"pp.pm"}; say $pp: +:VERSION;' This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. [user@server bin]$ which pp /usr/local/bin/pp [user@server bin]$ pp -V PAR Packager, version 1.050 (PAR version 1.016) Copyright 2002-2009 by Audrey Tang <cpan@audreyt.org> Neither this program nor the associated "parl" program impose any licensing restrictions on files generated by their execution, in accordance with the 8th article of the Artistic License: "Aggregation of this Package with a commercial distribution is always permitted provided that the use of this Package is embe +dded; that is, when no overt attempt is made to make this Package's interfaces visible to the end user of the commercial distribut +ion. Such use shall not be construed as a distribution of this Pack +age." Therefore, you are absolutely free to place any license on the resulti +ng executable, as long as the packed 3rd-party libraries are also availab +le under the Artistic License. This program is free software; you can redistribute it and/or modify i +t under the same terms as Perl itself. There is NO warranty; not even f +or MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [user@server bin]$ which perl /usr/bin/perl [user@server bin]$ perl -v This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge.

So far I have no indication that different Perl versions are mixed up on this box.

BUT:

I found something very interesting (and weird at the same time):

program.pl is intended to run on windows and linux boxes as well. We use a Win 2012 server with Strawberry Perl 5.28.2 installed, and, guess, I find Static.pm installed in the directory C:\Strawberry\perl\site\lib\PAR\StrippedPARL, although PAR:Packer on this machine is of version 1.049. And

pp -B -o program.exe program.pl

works flawlessly on Windows 2012.

It seems that the Strawberry guys bundled the "old" modules Static.pm (and Dynamic.pm) into this quite recent Perl (PAR::Packer) distribution. Really embarrassing!

Any ideas how to proceed? (o.k., I will, just to experiment, copy over Static.pm and Dynamic.pm (from cpan) into the appropriate directory on the Linux machine, but I think this is not only quick (provided it works), but very very DIRTY :->)

Totally different question:

When I post my questions here I use an "ordinary" text editor to prepare the text, insert the <p>, </p>, etc. by hand (!) and copy it over to the text box on this site. Inserting the tags is time consuming. I guess that there is a much easier way. How do You do this?


In reply to Re^2: Module Static.pm not found when using perl packer by Bloehdian
in thread Module Static.pm not found when using perl packer by Bloehdian

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.