Skip to content

Instantly share code, notes, and snippets.

@libitte
Created October 7, 2014 04:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save libitte/7f2bdc20426c7db30f76 to your computer and use it in GitHub Desktop.
Save libitte/7f2bdc20426c7db30f76 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl
use strict;
use warnings;
use Text::Diff;
use Digest::MD5;
use Getopt::Long::Descriptive;
use File::Basename;
use Carp ();
use Tie::File;
my $ME = basename($0, '.pl');
my ($opts, $usage) = describe_options(
"$ME.pl %o",
["file1|f1=s", "file1"],
["file2|f2=s", "file2"],
["help", "print this message"],
);
if ($opts->help) {
print $usage->text;
exit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment