I'm not certain I understand what you want, but I think what you're saying is that you want one instance of the DOS app to keep running, and you want the user to interact with it through a CGI script that they can access multiple times, each time interacting with the same already-running process is that right? If so, you'll actually need two Perl scripts, which can communicate with one another locally via a socket or something. The one script will monitor the DOS program directly, and the other one will be the CGI script that interacts with the user. The CGI script will run each time, send the user's input to the other script, get the results, send them to the browser, and exit. This may be more than you want to undertake with little previous knowledge of Perl, however.
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/
In reply to Re: DOS program interface
by jonadab
in thread DOS program interface
by Dovkont
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |