Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Perl losing momentum ?

by dirving (Friar)
on Jan 31, 2008 at 02:36 UTC ( [id://665264]=note: print w/replies, xml ) Need Help??


in reply to Perl losing momentum ?

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

Replies are listed 'Best First'.
Re^2: Perl losing momentum ?
by spurperl (Priest) on Jan 31, 2008 at 13:56 UTC
    David,

    Thanks a lot for these pointers. I will give wxPerl another try.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://665264]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-16 06:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found