diff options
| -rwxr-xr-x | challenge-010/jo-37/perl/ch-2.pl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/challenge-010/jo-37/perl/ch-2.pl b/challenge-010/jo-37/perl/ch-2.pl new file mode 100755 index 0000000000..1ed334d426 --- /dev/null +++ b/challenge-010/jo-37/perl/ch-2.pl @@ -0,0 +1,17 @@ +#!/usr/bin/perl -s + +use v5.16; +use warnings; +use List::Util 'max'; +use Text::JaroWinkler 'strcmp95'; + +die <<EOS unless @ARGV == 2; +usage: $0 STR1 STR2 + +STR1 STR2 + two strings + +EOS + + +say strcmp95(@ARGV, max map length, @ARGV); |
