…b in doc.
read_bytes needed to have the final bytes chopped off the result if padding bytes were read, since the length of the result was used elsewhere, and the padding bytes caused an error against the supposed dimensions of the matrix.
$Data::MATFile::VERBOSE to switch on verbose messages (debugging). mat2json now outputs JSON. -v switch on mat2json. Handling for UINT8 patched in.
There is now an unpack for miINT32 arrays, the 2-D arrays are now using sensible code, with the eval insanity marked as insanity and used only for 3-D or more arrays (this must be changed eventually).