12 lines
253 B
Perl
12 lines
253 B
Perl
$subLang = <STDIN>;
|
|
|
|
chomp($subLang);
|
|
|
|
if ( $subLang eq "perl" ) {
|
|
print "Congratulations, you choose perl!\n";
|
|
} elsif ( $subLang eq "Tcl" ) {
|
|
print "Tcl is great, too.\n";
|
|
} else {
|
|
print "Well, use $subLang if you feel ";
|
|
}
|