A newbie in perl and I have a simple "learning" question that is driving me crazy. Using this simple snippet of code, I expected the "print" statement to execute, but it never does. What am I doing wrong?
my $string = "Hello World";
if ($string =~ /"Hello"/) {
print "Basic String contains: Hello\n";
}