develooper Front page | perl.perl5.porters | Postings from April 2003

Re: [PATCH 5.8.1 @19053] Getopt::Std

Thread Previous | Thread Next
Ilya Zakharevich
April 8, 2003 02:54
Re: [PATCH 5.8.1 @19053] Getopt::Std
Message ID:
On Tue, Apr 08, 2003 at 09:13:21AM +0200, Johan Vromans wrote:
> OUTPUT_HELP_VERSION is a nice idea, but I think it is unnecessary and
> can be eliminated. Output goes to either STDERR (for 'unaware'
> scripts) or STDOUT (for 'aware' scripts with $STANDARD_HELP_VERSION
> set). But a script with $OUTPUT_HELP_VERSION is also 'aware', and
> therefore capable of other techniques to get the output elsewhere.

I have in mind the following scenario: one wants the output to go into
Tk::Popup widget.  It is *a lot* of hassle to temporarily redirect
STDOUT just for the time one calls Getopt::Std::version_mess().

Hope this helps,

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About