You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
$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 ";
|
|
}
|