Regarding GUI app with Perl, your question is really a two-parter:

  1. Which toolkit do I use? -- Tough question without a really good answer. Tk is regarded as simple and easy for small stuff, but it's also ancient and (from what I can tell) poorly-documented. gtk2-perl hasn't generated a lot of excitement, but it's probably the closest thing there is to a standard. wx looks a lot like Windows programming and is huge. qt has licensing issues if you ever want to write proprietary software.
  2. How do I compile my GUI program to an exe? -- In my experience, this isn't done very often. The most common scenario is to just make a list of dependencies and have your users install them before running your script. They can install the deps either using the CPANPLUS (or CPAN) shell, or else using their OS's package management system.

Modern Perl 5 is fun and fairly easy -- as long as you stay away from some pointy corners like typeglobs and subroutine prototypes. And tied variables (yikes!). Oh, and threads. Did you ever have that dream where you're in class in front of everyone, and you notice it's a bit too quiet so you look up from your laptop and realize that everyone is just beginning to notice that you used threads and are having some kind of synchronization problem and you're thinking you might use pdb and the beads of sweat start running down your forehead?


In reply to Re: Just starting Perl by Anonymous Monk
in thread Just starting Perl by spearfish

Title:
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, details, 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, summary, 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.