Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2024-04-18 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found