[Quoting Ilya Zakharevich, on April 4 2003, 13:32, in "Re: [PATCH 5.8.1 @19"] > AFAIU, there may be no adverse effect of printing a *different* > message than one emited before. Hmm, to be extra sure, the > help/version message should be printed on STDERR Conventions dictate that they are written to STDOUT. But most important: the program must exit after the message is written, while in your proposal it only exits after source modification (the setting of $main::EXIT_ON_HELP_VERSION). > Even if this is a part of some general framework configuration? E.g., > suppose GNOME configuration would set PERL_GETOPT_MODULE to an > appropriate value? Exactly, and an environment variable would be a better way to select the handler. Using a command line option to select a command line option processor is confusing and error prone. -- JohanThread Previous | Thread Next