HuckinFappy has asked for the wisdom of the Perl Monks concerning the following question:
Greetings brethren. It's been too long since I've been enveloped in the warmth of perl on a daily basis, as I've been doing too much Project Management, and not enough coding.
~Jeff
But I now find myself facing an unsavory problem. We have an application which may have multiple unrelated instances running on a machine. On Windows, these applications sometimes (.001% of the time) will die with:
Can't load 'c:/xgsPerl/5.8.5/lib/auto/File/Glob/Glob.dll' for module F +ile::Glob: load_file:%1 is not a valid Win32 application at c:/xgsPer +l/5.8.5/lib/XSLoader.pm line 68.
(this is perl 5.8.5)
This problem never happens with only one instance of the tool running, leading us to suspect concurrency issues (duh)
Assume for a minute we are in a frozen development environment, and updating the version of perl or File::Glob is not an option.
A couple of questions
- Does anyone have a good explanation for what we are seeing?
- Any suggestions for working around it? (my current idea is to eval{} the glob() calls)
- Does anyone have a pure perl glob() implementation we could drop in and try?
~Jeff
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Problems sometimes loading File::Glob
by jettero (Monsignor) on May 23, 2007 at 18:13 UTC | |
by HuckinFappy (Pilgrim) on May 23, 2007 at 18:18 UTC | |
by HuckinFappy (Pilgrim) on May 24, 2007 at 14:25 UTC | |
Re: Problems sometimes loading File::Glob
by shmem (Chancellor) on May 23, 2007 at 18:16 UTC | |
by HuckinFappy (Pilgrim) on May 23, 2007 at 18:20 UTC | |
by shmem (Chancellor) on May 23, 2007 at 18:37 UTC | |
by HuckinFappy (Pilgrim) on May 24, 2007 at 22:57 UTC |
Back to
Seekers of Perl Wisdom