|Perl Monk, Perl Meditation|
Re: TclTk interface with Perl code, is it possible?by Anonymous Monk
|on Jan 13, 2012 at 10:04 UTC||Need Help??|
Choices breed complications :) I apologize in advance for this post :)
I tried some search, but don't have a clue at a point is that : Can I build the interface with Tcl, and then finished the code with Perl?
If you use Tkx, I hear ActiveState has a GUI builder in some version of their Komodo product that will generate perl code, and it should be easy to pack with their perlapp
If yes, that still one more question is that who's the host and whose the guest? I mean after the program finish, the script is interpreted by Perl or Tcl ? Coz I need to compile the app to an exe file before I distribute to my colleagues.
Yeah, packing stuff in a single exe puts you at a slight disadvantage, its not a one-click-world with Tcl::pTk, not that it is with any of the other toolkits, but activetcl is trickier. perl is the host, it embeds tcl, but all the widgets aren't warpped up in a neat single dll like tkkit, you'd have to either copy a bunch of files, or create one , or ...
But if no, could you suggest any approach for me? I need a GUI builder to build the interface, and write the code with Perl... and I am on WinXP.
Ps. I know nothing about Tcl language though.
oh boy, why did you bring it up?
Those ought to be the easiest to install from sources and pack. I mean they're all equally easy, or hard.. whatever you pick, there will always be some legwork, something to learn, something to get help on ... the smarter you are, the easier it will be :) Most of these are free options, the cash options fare about the same, except you pay someone to listen/help with any problems
All GUI toolkits are about the SAME, work the same way .... hey, you could even use a browser as your GUI, jquery, etc, etc, with a perl webserver backend ( cgi-app / mojo / dancer / catalyst )
You'll want to peruse these to get some ideas of how things work, typical FAQ-y problems, tuts, etc, etc, etc