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

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

Thread Previous | Thread Next
From:
jvromans
Date:
April 8, 2003 03:27
Subject:
Re: [PATCH 5.8.1 @19053] Getopt::Std
Message ID:
16018.41990.895270.324187@phoenix.squirrel.nl
> 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().

I see.
I would provide Getopt::Std::version_mess_as_string() for that
purpose.
Also gives the user the possibility to do some post-processing on the
text...

-- Johan

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