Raineer has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
I use Perl to write trace and log parsers for my engineering group. They are a Windows crowd and most are not savvy enough to use native Perl.
I use `pp` to package the scripts into executables which they can run on Windows, and I've had great success doing so.
My question is - Why do freshly-packed execs have such a long delay the first time they are run in Windows on a given machine? I even see this on my own machine - I pack with `pp`, then launching the file gives me a black screen hang for 30-60 seconds and the program proceeds as desired. Subsequent launches have no delay at all.
My colleagues see this same behavior as well. It's a nuisance at worst, but I would really like to eliminate this. I can see the behavior on the simplest of programs, at most my typical programs only import Archive::Tar.
Are there further settings I can use in `pp` to eliminate this delay? I have searched and searched but haven't found a report that matches this behavior, though I can't believe I'm the only one.
I'm using Strawberry 5.16, but I have seen the same behavior on every distro and version I have used. Thank you.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Delay running Perl execs in Windows
by salva (Canon) on Apr 15, 2014 at 14:31 UTC | |
by Anonymous Monk on Apr 15, 2014 at 18:54 UTC | |
Re: Delay running Perl execs in Windows
by dasgar (Priest) on Apr 15, 2014 at 16:04 UTC | |
Re: Delay running Perl execs in Windows
by hominid (Priest) on Apr 15, 2014 at 15:40 UTC | |
by dasgar (Priest) on Apr 15, 2014 at 23:21 UTC | |
by Anonymous Monk on Apr 16, 2014 at 00:17 UTC | |
Re: Delay running Perl execs in Windows
by Anonymous Monk on Apr 15, 2014 at 18:53 UTC | |
by Raineer (Novice) on Apr 15, 2014 at 22:16 UTC |