Don't import bytes and be consistent with dying in bro-perl
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 27 Aug 2016 21:37:24 +0000 (22:37 +0100)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 27 Aug 2016 21:48:57 +0000 (22:48 +0100)
bin/bro-perl

index ffad9052518d903392d222af0c47938e71715a73..45eed8e3dff125d2ea7463335b0e738904195bc2 100755 (executable)
@@ -1,11 +1,10 @@
 #!perl
-#
 
 use warnings;
 use strict;
 use 5.014;
 
-use bytes;
+use bytes ();
 
 use File::Slurp;
 use Getopt::Long;
@@ -54,7 +53,7 @@ for ( 1..$REPEAT ) {
 
     my $ofh;
     if( $OUTPUT ) {
-        die "Output file exists"
+        die "Output file exists\n"
             if( -e $OUTPUT && $REPEAT == 1 && !$FORCE );
         open $ofh, ">", $OUTPUT
             or die "Cannot open output file $OUTPUT.\n";
This page took 0.011487 seconds and 4 git commands to generate.