programming-examples/perl/String/Convert input to lowercase and uppercase.pl
2019-11-15 12:59:38 +01:00

6 lines
141 B
Perl

while (<>) {
print "Here's what you typed lowercased: " . lc . "\n";
print "Here's what you typed uppercased: " . uc . "\n";
}