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 7, 2003 13:55
Subject:
Re: [PATCH 5.8.1 @19053] Getopt::Std
Message ID:
20030407205508.GB701@math.berkeley.edu
On Mon, Apr 07, 2003 at 12:46:33PM +0200, Johan Vromans wrote:
> [Quoting Ilya Zakharevich, on April 6 2003, 12:37, in "Re: [PATCH 5.8.1 @19"]
> > It should be enough to do one-place modification
> > 
> >   $Getopt::Std::HELP_VERSION_AWARE = 1;
> > 
> > to change the behaviour to be standard-conforming.
> 
> I'm losing you. The initial idea was to transparently provide new
> functionality without the need to change scripts.

Yes and no.  Without a change you get 1/2 of the functionality only
(message on STDERR, and contituation).

> This turned out to be risky

No.

> since it would either break existing scripts,

No.

> or become non-standard behaving functionality (writing the messages
> to STDERR instead of STDOUT, and continue processing).

There is no new risk in this.

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