cgi - What is the best way to create a web interface to an interactive perl script? -


i have interactive perl shell script asks user input , accordingly choice script returns set of options choose from. now, have demand create web interface it. no more black terminals blinking prompt our users. wondering best way pull off minimum changes original script? how keep script running , wait user input? best way send user input script , return it? or should refactor script use cgi? want hear general direction should take. know basic of perl , cgi.

if using cgi these days might using modern , fast plack. since plack wrap cgi style application can use cgi application "inside" plack modern features, pluggable middleware, etc., alongside olde-fashioned 1990's traditions.

depending on how complex application there's number of small frameworks , helper modules can make working plack easier. converting console application use web interface might easier if use squatting or kelp.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -