Skip to content

Commit

Permalink
redo after bad rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Mar 16, 2023
1 parent 120907e commit 1464b24
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions util/range_messages_differ.pl
@@ -1,4 +1,5 @@
#!/usr/bin/perl
use v5.10;

my @xml =
map {
Expand All @@ -9,5 +10,7 @@
map { local(@ARGV, $/) = $_; scalar <> }
@ARGV;

exit $xml[0] eq $xml[1]; # 0 means they differ (aren't the same) - unix success
# 1 means they don't differ (are the same) - unix failure
say "Files are ", $xml[0] eq $xml[1] ? 'the same' : 'different';

exit( $xml[0] eq $xml[1] ); # 0 means they differ (aren't the same) - unix success
# 1 means they don't differ (are the same) - unix failure

0 comments on commit 1464b24

Please sign in to comment.