(some day I'll learn to hit "reply to all")
sub _identify_pm_files_under_mmkr_dir {
my $mmkr_dir = shift;
my $full_dir = "$mmkr_dir/ExtUtils/ModuleMaker/Personal";
my @pm_files = glob("$full_dir/*.pm");
my @pm_files_hidden = glob("$full_dir/*.pm.hidden");
If $mmkr_dir is coming in with whitespace, then I'm guessing that glob
(which expands "like csh would do") is messing up -- perhaps giving up
at the whitespace and thus returning the same value for both -- leading
to the crash.
Any use of C<glob> will fail with directories that contain whitespace.
This is not a Win32-only issue, it is just that on Unix, there are far
less directories with whitespace in their name. I recommend using
File::Glob qw(bsd_glob), because bsd_glob is the (only) sane globbing
method, if globbing is to be used at all.
-max