PERL used in desktop app
-
Hi Ive written a PERL script and want a simple GUI for it. Ive started doing it in HTML and hoped to be able to cut and paste data in, press calculate and then be presented with the findings. How do i get data from a html forms text box, into my perl script?? Ive searched the web put everyone wants to use cgi. This wouldnt work without a web server would it? Thanks!!
-
Hi Ive written a PERL script and want a simple GUI for it. Ive started doing it in HTML and hoped to be able to cut and paste data in, press calculate and then be presented with the findings. How do i get data from a html forms text box, into my perl script?? Ive searched the web put everyone wants to use cgi. This wouldnt work without a web server would it? Thanks!!
If you want your Perl script to be executed from a web browser, you'll need to have it as a CGI script on a web server -- that's just how things work. If you want to build a standalone GUI for your app, there are a number of toolkits with Perl bindings you can use to construct the GUI: Win32::GUI, Gtk, Qt, Tk, etc. Since you know HTML already, you may be interested in the Tk::HTML[^] module. - Mike