From: Jim Weirich Date: 2005-06-25T05:58:51+09:00 Subject: Re: [ANN] Application-0.6.0 On Friday 24 June 2005 04:04 pm, Jim Freeze wrote: > > * make a certain set of options enabled by default: man page, > > version, usage, etc. �That way all applications written in this > > framework will immediately have this commonality. �And then > > have a way for the application class to delete this > > functionality if it isn't wanted for some strange reason. > > Hmm, haven't thought about that, but sounds reasonable. One way to handle this is to provide a CommandLine::BasicApplication with no defaults and also CommandLine::Application with the mentioned goodies. This allows people to fall back to a bare bones version with little effort. Another approach is to provide additional functionality in modules (or something module-like). Include a module and get several related features. -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)