in reply to Module Static.pm not found when using perl packer
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Module Static.pm not found when using perl packer
by Bloehdian (Beadle) on Jul 23, 2020 at 14:35 UTC | |
Hello again, o.k., first with regard to the version stuff:
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.plworks 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? | [reply] [d/l] [select] |
by marto (Cardinal) on Jul 23, 2020 at 15:23 UTC | |
"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!" For Strawberry Perl 5.28.2 from the msi:
From the 'portable':
From the 'zip' distro:
I can't see anything to back up this claim. | [reply] [d/l] [select] |
by hippo (Archbishop) on Jul 23, 2020 at 14:53 UTC | |
Inserting the tags is time consuming. I guess that there is a much easier way. How do You do this? I use a node template. You can set one up in your Signature Settings. Or you could configure your editor to use a template. Or you could use an HTML-aware editor. Or you could use a post-processor (in Perl, of course) to wrap every paragraph outside code blocks in p tags. Or ... so many alternatives! 🦛 Sig test because I changed it while I was there. :-) | [reply] |