Ok ... my problem vanishes if I do the following:

    $realname =~ s/\\/\//; # change '\' to '/'
    my $realpath = $INC{$realname}
      or croak M27_module_not_indexed($realname);
     # a few lines further on:
      $realname =~ s/\//\\/g; #change '/' to '\'
    File::Spec->catfile(@endparts) eq $realname
      or croak M28_error_grokking_path($realpath);

(The only code I've added in the above is the 2 regexes.)

I can now build Math::Simple and run the scripts that use any of my
inline-built modules.

Cheers,
Rob

Reply via email to