in reply to The problem of documenting complex modules.
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;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: The problem of documenting complex modules.
by BrowserUk (Patriarch) on Jul 08, 2015 at 11:19 UTC | |
by Anonymous Monk on Jul 08, 2015 at 22:51 UTC | |
by Anonymous Monk on Jul 08, 2015 at 22:54 UTC | |
Re^2: The problem of documenting complex modules.
by Anonymous Monk on Jul 08, 2015 at 22:46 UTC | |
by talexb (Chancellor) on Jul 16, 2015 at 02:18 UTC | |
Re^2: The problem of documenting complex modules.
by 1nickt (Canon) on Jul 08, 2015 at 14:42 UTC |