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

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

Thread Previous | Thread Next
Ronald J Kimball
May 7, 2015 03:02
Re: [perl #124420] [PATCH] $Carp::MaxArgNums off-by-one error
Message ID:
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


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