1 ffd9a51f 2023-08-04 jrmu #!/usr/bin/perl
3 ffd9a51f 2023-08-04 jrmu # Make a program that prints each line that has a word that is capitalized
4 ffd9a51f 2023-08-04 jrmu # but not ALL capitalized. Does it match Fred but neither fred nor FRED?
6 ffd9a51f 2023-08-04 jrmu use warnings;
10 ffd9a51f 2023-08-04 jrmu foreach (grep(/[A-Z][a-z]+\b/, <>)) {