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.
|
# Note the extra space after the question mark.
|
|
print "What is your favorite scripting language? ";
|
|
|
|
$subLang = <STDIN>;
|
|
|
|
chomp($subLang);
|
|
|
|
if ( $subLang eq "perl" ) {
|
|
print "you chose perl!\n";
|
|
} else {
|
|
print "$subLang ";
|
|
}
|
|
|
|
|