On 23/10/02 09:37 +1000, Sisyphus wrote:
> 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);
Great. Could you send me a patch file. Just run (using cygwin):
diff -u Inline.pm.orig Inline.pm.fixed > patch
I'll apply it after I get back from the pub.
Good job!
Cheers, Brian