G:\abyss>perl x.pl Please enter the file name you want the word count x.pl The number of words in the file is 150 These are the unique words: want you file that useless my print parens statement better $file= suggested also unique strict; $file; name words: warnings; "These with and number of do += die is %u_wc 0; to have open(my $u_wc "The %u_wc), her e, $!; ; # "\n\n"; Lexical isn't $words\n\n"; $file) "<", $u_wc\n\n"); } two-argument the variable. open() a = @words toolic ("The @words; or in As split ; $u_wc{$_}++ name. $words\n\n"); $words for enter by prompted inconsistent We w ord declare %u_wc; The $fh) Don't $word! join(" are globs. forget words keys ("t his handles count\n\n"; use above us ", though. open(). than $fh, (<$fh>){ (my w hile chomp Also, "Please three-argument G:\abyss>