* Michael Peters <[EMAIL PROTECTED]> [2007-07-21T09:07:42] > Ricardo SIGNES wrote: > > http://search.cpan.org/dist/Test-BinaryData/lib/Test/BinaryData.pm > > Did you know that Test::LongString (despite the name) can handle binary > information too? Probably not as detailed as your diagnostics, but it works > fairly well for seeing the differences in binary stuff.
Yeah, I knew that, and have used it for this in the past... but my brain, I think, has become clouded by extensive use of "perl -I lib t/file.t |& xxd" for this sort of testing, which is pretty silly, I guess. What I should really do is make a little wrapper so that I can toggle between "is" and "is_string" and "is_binary" automatically based on environment variables or compared data. -- rjbs