develooper Front page | perl.perl5.porters | Postings from May 2015

Re: [perl #124420] [PATCH] $Carp::MaxArgNums off-by-one error

Thread Previous | Thread Next
From:
Ronald J Kimball
Date:
May 7, 2015 03:02
Subject:
Re: [perl #124420] [PATCH] $Carp::MaxArgNums off-by-one error
Message ID:
20150507030247.GA53511@ibughas.pair.com
On Tue, Apr 28, 2015 at 09:16:06PM -0700, Alexander D'Archangel wrote:

> $Carp::MaxArgNums is documented to be the number of arguments to display in
> tracebacks, but it has a bug that means that the actual number of arguments
> displayed is $MaxArgNums + 1 .

> $Carp::MaxArgNums is documented as the number of arguments to display,
> but it for a long time has instead been the number of arguments to
> display +1.

Note that the second sentence, from the commit log, has the offset
backwards.

Ronald

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