I have own technique to solve same problem for me. It includes few steps:
- substituting Dynaloader.pm and overloading "use.pm",
- packaging number of library files into single archive, so that use module; will go to that archive
- throwing away AutoLoad.pm for those packages
- few other trivial steps to make stup "exe" which calls perl with a given script as parameter.
This way I ended up with about 10 DLLs (some more or less depending on actual modules usage) and about 5 auxiliary files needed to bootstrup my mechanic.
This is for Perl/Tk applications.
Starting from some moment I moved to Tcl::Tk module instead of Perl/Tk and quantity of files changed.
That said, I invented my own method in addition to PAR, perl2exe, and gmpassos's tinyperl.
Why?
PAR creates big forest in TEMP; at least this requires some space on HDD to write, yet there will be more and more garbage after few crashed invocations;
perl2exe is old unsupported and discouraged to use (AFAIK);
and can't comment on tinyperl, because just can't.
:)
Courage, the Cowardly Dog
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.