1. '$first' and '$second' are 2 different variables. Why is
'$_ . $_1' used instead of '$_ . $_' to combine
two strings? Doesn't the first '$_' for '$first' and the
second '$_' for '$second'?
2. In this code " . $_ . $_1 . "\n"; I understand why there
are two dots. But I don't understand why the third dot is
#prompt user for two strings. Remove newline and
#store into variables
print "\nEnter the first string: ";
chomp($first = <STDIN>);
print "\nEnter the second string: ";
chomp($second = <STDIN>);
print "\nThe combined strings are: " . $_ . $_ . "\n";
Enter the first string: I go
Enter the second string: to school.
The combined strings are: I go to school.