print NOTES "test"; . . . $fromfile=; if ($fromfile eq "test") {print "Yes, this works"};