Subject: | Installation on Win32 fails |
I've just tried to install App::Grepl 0.01 on my windows machine, but it
fails, as the paths look different to the paths on linux...
I get errors like this:
t/30-dir...........NOK 14# Failed test '... and it should tell us the
file it
found results in'
# at t/30-dir.t line 46.
# got: 't\lib\quotes\quote1.pl'
# expected: 't/lib/quotes/quote1.pl'
t/30-dir...........ok 15/0
# Failed test '... and it should tell us the file it found results in'
# at t/30-dir.t line 73.
# got: 't\lib\quotes\quote1.pl'
# expected: 't/lib/quotes/quote1.pl'
It is this line:
is $found->file, 't/lib/quotes/quote1.pl',
You should use File::Spec to get the paths!
is $found->file, File::Spec->catfile( qw/t lib quotes quote1.pl),