confused,
when i run this file below, "whatisyourname.pl" on my site, my browser displays this, 
but never askes me for $name?  it just prints "what is your name" and "hello, !"

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<html><body>";
print "what is your name? ";
$name = <stdin>;
chomp ($name);
print "hello, $name!\n";
print "</body></html>";

Reply via email to