Subject: | bug in filename (should always assume / as separator) |
bug in filename (should always assume / as separator)
perl does, at least when use/require Module::Name is concerned
this is why loaded_filename/resolved_filename test in 01_main.t
fail on windows
example:
E:\>perl -MCGI::Cookie -le"print for grep /cookie/i , %INC"
CGI/Cookie.pm
C:/Perl/lib/CGI/Cookie.pm
E:\>perl -MFile::Spec -le"die File::Spec->catfile(@ARGV)" CGI Cookie.pm
CGI\Cookie.pm at -e line 1.
E:\>perl -MClass::Inspector -le"print for Class::Inspector->filename('Class::Inspector'), grep /inspector/i, %INC;"
Class\Inspector.pm
Class/Inspector.pm
C:/Perl/site/lib/Class/Inspector.pm
E:\>