Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Using PerlApp or PAR with modules with data dependenciess

by marto (Archbishop)
on Dec 15, 2017 at 19:06 UTC ( #1205617=note: print w/replies, xml ) Need Help??


in reply to Using PerlApp or PAR with modules with data dependenciess

I've used pp many times over the years, you don't show how you tried to make the exe (see also How do I post a question effectively?), but calling it with the -x option tends to resolve many of these problems:

pp -x -o package.exe source.pl

This runs your program to determine any additional run time dependencies. I've tested this with the code above and the exe generated works as expected:

C:\marto>package.exe This is a paragraph. It contains several sentences. "But why," you ask? C:\marto>perl -v This is perl 5, version 26, subversion 0 (v5.26.0) built for MSWin32-x +64-multi-t hread Copyright 1987-2017, 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.

Replies are listed 'Best First'.
Re^2: Using PerlApp or PAR with modules with data dependenciess
by IB2017 (Pilgrim) on Dec 16, 2017 at 09:22 UTC

    This works. PAR is probably much better than the commercial PerlApp.

      When working on Windows I stick to Strawberry for its sane build environment (C compiler, build tools, many useful modules as standard), and pp for when I have to build executables. It just made life much easier.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1205617]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2020-09-19 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (114 votes). Check out past polls.

    Notices?