projects
/
io-compress-brotli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace File::Slurp with File::Slurper
[io-compress-brotli.git]
/
bin
/
bro-perl
diff --git
a/bin/bro-perl
b/bin/bro-perl
index ad35af8b20a7c6307c879b4e57cdedc7a18dc452..fcd82192da7b78ee27f00066988223604cd9814b 100755
(executable)
--- a/
bin/bro-perl
+++ b/
bin/bro-perl
@@
-6,7
+6,7
@@
use 5.014;
use bytes ();
use bytes ();
-use File::Slurp;
+use File::Slurp
er qw/read_binary/
;
use Getopt::Long;
use Time::HiRes qw/ gettimeofday tv_interval /;
use Getopt::Long;
use Time::HiRes qw/ gettimeofday tv_interval /;
@@
-83,7
+83,7
@@
for ( 1..$REPEAT ) {
print $ofh $encoded;
}
else {
print $ofh $encoded;
}
else {
- my $decoded = read_
file
( $ifh );
+ my $decoded = read_
binary
( $ifh );
my $encoded = bro( $decoded, $QUALITY, $WINDOW );
$total_size += bytes::length( $decoded );
write_file( $ofh, $encoded );
my $encoded = bro( $decoded, $QUALITY, $WINDOW );
$total_size += bytes::length( $decoded );
write_file( $ofh, $encoded );
This page took
0.009258 seconds
and
4
git commands to generate.