This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strictures; | |
use List::Util "reduce"; | |
use Path::Tiny; | |
use YAML; | |
# Given a list of filenames, return a hash of each word and the number | |
# of times it occurs. | |
my $reduced = word_count(@ARGV); |