$| = 1; select(STDERR); $| = 1; select(STDOUT); $| = 1; print < END_HTML #reads the input values here print END_HTML; PAGE TITLE END_HTML print "value: $value
"; # the above line is repeated for each input value open(temp_handle, "> log_file"); print(temp_handle "log stuff"); #repeated with information close temp_handle; system("external_program"); # the above program can take several seconds to several # minutes to run print < END_HTML