Hi Everyone, I'm seeing a failing test currently with xt/mimetypes.t, output can be seen here:
http://paste.scsys.co.uk/106906 The test is failing on the broken.bin file. is( Padre::MimeTypes->guess_mimetype( $text, '' ), $existing_test_files{$file}, $file . ' without filename' ); The test itself shows that Padre::MimeTypes->guess_mimetype( $text, '' ) actually returns a mimetype, rather than undef. I'm not sure if you can detect the file is binary based on the data that is in $text... so over to someone who knows more about this stuff to check out.. :) Peter.
_______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev