Hi, I'm troubled by something I guess is easy to solve. I have a web site form, with two edit boxed, the user should write in two numbers there and the result should be their sum. I wrote something like this
sub sum { $result = $_[0] + $_[1]; return $result; } The user types in 4 and 5. And when he presses the Submit button the result should be printed out. It does not print it out, however, but instead I get an option to open test.pl or save it to disk. When I save it to disk, I get a Web site that actually contains the "print 9" (because of 4+5) line, but I have to open it again from the explorer. I hope you could understand what my problem is :) I want it to PRINT out 9, and not to save the result to disk just to open it once more. How can I do this? Csaba p.s. Sorry i couldn't post the entire code, I can't remember it right now... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]