Your experience with wxPerl seems to be different than the one that I have had. In the year that I've been using it I've found it to be much better documented and easier to use the Tk.

All the objects and methods map 1:1 to the C++ API documented here, and anything that is different in wxPerl is noted in that same document. You can also install Wx::Demo from CPAN, which is a demo script that shows you how to use all of the widgets.

Up-to-date PPMs for ActiveState on Windows are available here. I also had no problem building the module with CPAN on Debian.

I haven't yet run into any classes missing from the perl port that I've wanted to use (although Wx is a huge library and I certainly haven't tried all of it.) In general, everything just works more consistently and looks better than in Tk. I had a lot of problems trying to inherit from Tk classes -- in WxPerl you just use base 'Wx::Whatever' and it works how you would expect.

It would definitely be worth your while to take another look at wxPerl. Although the API is a little less Perlish than Tk's, it is generally cleaner and more consistent, and the resulting GUI is much more attractive.

edit: I just re-read your post and noticed that you were concerned about using the C++ API reference instead of a dedicated Perl document. Essentially the only difference between the two would be changing the class names from wxWhatever to Wx::Whatever and changing the name of constructors to new, so maintaining a separate document would be a waste of effort (and a pain to keep in sync as the main Wx documentation evolves)

-- David Irving

In reply to Re: Perl losing momentum ? by dirving
in thread Perl losing momentum ? by spurperl

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.