Subject: | passing DIRECTORY to Inline C on Win32 |
H::T::JIT::Compiler (on about line 87) calls Inline C
with an argument of DIRECTORY => "$self->{package_dir}".
However, on Win32, $self->{package_dir} uses '\' as the
directory separator, which causes Perl to think that
the character following the '\' is meant to be escaped.
Doing a
$self->{package_dir} =~ s{\\}{/}g;
before the DIRECTORY specification fixes this.