Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Comment on

( #3333=superdoc: print w/ replies, xml ) 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?

Sure with Tcl::pTk you can. You can do the whole thing "in perl" or in tcl. example Re: Tk hidden binding

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.

Sure, its not Tk, but its easy GUI with easy deployment, its , it comes with Cava Packager + wxPerl, add my wxWidgets / wxPerl / wxGlade tutorial and you're up and running

Ps. I know nothing about Tcl language though.

oh boy, why did you bring it up?

Maybe you'd like to try Tk/ Or Prima/VB - Visual Builder for the Prima toolkit? Or Wx/wxGlade?

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

In reply to Re: TclTk interface with Perl code, is it possible? by Anonymous Monk
in thread TclTk interface with Perl code, is it possible? by exilepanda

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others chanting in the Monastery: (9)
    As of 2015-11-25 14:30 GMT
    Find Nodes?
      Voting Booth?

      What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

      Results (677 votes), past polls