This is very timely for me -- I'm looking into a way of developing an application that will run on both Windows and OS X (and ideally I can develop on Linux), and as part of my search I found Wx. Great, I thought, the "Hello, World!" example works -- what else ya got?
Ah, Wx::Demo. Great. Hmm.
Well, the code's installed, but there's no way to run the demo. Anyway, after a couple of dead ends, I finally figured out
was the answer. Not terribly difficult, but I sure wish that code fragment had been added to the README. (Yes, I know I can file a bug on CPAN, and perhaps even make a pull request for the change -- I just figured this out yesterday.)#!/usr/bin/perl use Wx; use Wx::Demo; my $app = Wx::SimpleApp->new; my $frame = Wx::Demo->new; $frame->Show; $app->MainLoop;
In reply to Re: The problem of documenting complex modules.
by talexb
in thread The problem of documenting complex modules.
by BrowserUk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |