Revision history for Perl extension Slob.
+0.002002 2018-01-20T17:25+00:00
+ - Open files in binary mode to fix MSWin32 test failures
+
0.002_001 2018-01-13T21:55+02:00
- Make tests output more information to track down MSWin32 test failures
use 5.014000;
use strict;
use warnings;
-our $VERSION = '0.002_001';
+our $VERSION = '0.002002';
use constant MAGIC => "!-1SLOB\x1F";
if (ref $path eq 'IO') {
$fh = $path
} else {
- open $fh, '<', $path or croak "Cannot open \"$path\": $!"
+ open $fh, '<', $path or croak "Cannot open \"$path\": $!";
+ binmode $fh;
}
my $self = bless {path => $path, fh => $fh}, $class;
$self->{header} = $self->read_header;