Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl TK Widget

Status
Not open for further replies.

perltk07

Programmer
Apr 2, 2007
13
US
I have created a Perl TK widget which is a Form that can be filled out and submitted. Once submitted all the enteries are written to a csv file.

My question is that how can i create a webpage with this widget. Right now i run the script and my widget appears. How can I go to a website to access my widget?

Thank you
 
I didn't think this was even possible. TK is for creating GUI interfaces. Web programming kind of precludes that, doesn't it? I could be wrong, but I would think you'd have to convert your widget into a Perl/CGI script.
 
Yeah, Tk is for GUI interfaces which only "work" on the machine running the code. So, if you upload a Tk script to a web server and somebody accesses it over CGI, that somebody won't see the Tk windows. On the server end, Tk windows will start popping up and the server admins might get a little bit annoyed at you. So, the server would pop up Tk windows all over, but the end user over HTTP isn't going to see anything at all.

If you want to create a GUI over HTTP, look into Java applets.

-------------
Cuvou.com | The NEW Kirsle.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top