Pretty sure the best short term answer might depend on what happens after selecting 1-9. And also, your TAT (turn around time). If there are not a lot of additional inputs required after making a selection, and you wish to dummy something up quickly I often: use cgi;
There is a pretty good example that used to be in the camel book you can use as a template. I use it all the time, and here is a modified version that you can probably try and run. I think it should work as an example
#!/usr/bin/perl use CGI qw/:standard/; print header, start_html('test_cgi'), h1('Please choose one of the following options.'), h2(' 1) Insert all Apps Belonging to a group'), h2(' 2) Insert groups in database'), h2(' 3) Refresh database group table'), h2(' 4) Add all app from one group to another'), h2(' 5) Get Group ID'), h2(' 6) Get User ID'), h2(' 7) Sync Groups'), h2(' 8) Get list of all apps'), h2(' 9) exit'), start_form, "Enter a your choice from list above: ",textfield('selection') +,p, "Select which to operate on: ", checkbox_group(-name=>'words', -values=>['users','groups','apps'], -defaults=>['users','groups']),p, "What should we do with the selection ", popup_menu(-name=>'color', -values=>['add','show','update','none']),p, submit, end_form, hr,"\n"; print "$endd \n"; if (param) { print "You selected: ",em(param('selection')),p, "Process: ",em(join(", ",param('words'))),p, "To do: ",em(param('color')),".\n"; } print end_html;
In reply to Re: Perl Script to run in web browser
by tbone654
in thread Perl Script to run in web browser
by cbtshare
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |