I can't figure this one out. In a Perl program, here's what I got:
$test = "Two Words";
print "<input type=\"text\" name=\"foo\" value=$test>\n";
When I run the script, instead of getting "Two Words" in the form box, I get just the first word "Two".
I can't figure this out. I changed the line to this:
print "<input type=\"text\" name=\"foo\" value=$test>$test\n";
And I get:
Two Two Words
(the first Two is in the text box)
Can anybody help me with this?
$test = "Two Words";
print "<input type=\"text\" name=\"foo\" value=$test>\n";
When I run the script, instead of getting "Two Words" in the form box, I get just the first word "Two".
I can't figure this out. I changed the line to this:
print "<input type=\"text\" name=\"foo\" value=$test>$test\n";
And I get:
Two Two Words
(the first Two is in the text box)
Can anybody help me with this?