Thanks for your reply.
I just want to create a 'Windows'-type environment for the visitors of my website.
I was looking for a way whereby each user would NOT have to set the $Display var on their individual terminals. I also needed to be able to have this graphical interface to be available to various platforms.
My understanding now, is that it is not that simple and using this interface in this uncontrolled arena may possibly open up a security 'hole' (I'm not exactly sure how, but may provide access to the shell?).
What are your thoughts?
The key word that you hadn't used before is website. Tk is meant to be used to make graphical front-ends to non-CGI Perl programs -- say, like a Perl/Tk program that allows one to converse in the Chatterbox. Tk really has nothing to do with HTTP. If you're dealing with a website, chances are that you want something that's closer to CGI.pm or one of the many frameworks off of that. Thosewill allow you to have buttons and forms in your webpages. If you want to be able to open multiple windows and have more real-time feedback, Perl is likely not the solution; Java, JavaScipt, and Flash are more up that alley.
perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
Thanks so much.
Had I known that 'website' was 'key' to this (and therefore http), I guess I would have obtained different reponses.
I read about Tk in several Perl books. All it mentioned is that Tk provides Perl with the ability to provide a graphical interface vs text only. It showed how to write scripts, and provided the benefits and install procedures. None of the references mentioned anything about 'XWindows', 'rc files' or that it is not available for websites! Had I known this, I could have moved on sooner.
Thanks for your help.
P.S. Just to close out this topic, I would like to see what Tk looks like -- do you know where I can locate the file and provide the complete syntax so I can set the $Display var and whatever else for Windows 98 (for my computer) I may need, judging by the error message I received? The script will be running on UNIX BSDi using Perl 5.005_03 for now. (if I am not asking this setup question correctly due to by 'newbieness', please let me know.) Again, thanx.