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

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

Thread Previous | Thread Next
From:
Ilya Zakharevich
Date:
April 8, 2003 02:54
Subject:
Re: [PATCH 5.8.1 @19053] Getopt::Std
Message ID:
20030408095438.GA1283@math.berkeley.edu
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,
Ilya

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About