Skip Menu |

This queue is for tickets about the Classic-Perl CPAN distribution.

Report information
The Basics
Id: 74709
Status: resolved
Priority: 0/
Queue: Classic-Perl

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Perl 5.{6,8} fails C:P test suite
Date: Sun, 5 Feb 2012 21:34:00 +0000
To: bug-Classic-Perl [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Classic::Perl's t/arybase.t tests that $[ settings are lexically scoped. C:P's implementation passes. Perl 5.{6,8} fails, blocking installation of C:P on such Perls. Turns out $[ setting was only lexically scoped if "local"ised. I don't think attempting to replicate the real historical behaviour is sensible. Attached patch changes the test suite to only test the cases where C:P agrees with historical Perl, and adds appropriate qualifiers to the documentation. -zefram

Message body is not shown because sender requested not to inline it.

On Sun Feb 05 16:34:12 2012, zefram@fysh.org wrote: Show quoted text
> Classic::Perl's t/arybase.t tests that $[ settings are lexically scoped. > C:P's implementation passes. Perl 5.{6,8} fails, blocking installation > of C:P on such Perls. Turns out $[ setting was only lexically scoped if > "local"ised. I don't think attempting to replicate the real historical > behaviour is sensible. Attached patch changes the test suite to only > test the cases where C:P agrees with historical Perl, and adds appropriate > qualifiers to the documentation. > > -zefram
Thank you. I’ve just applied your test patch, but I reworded the documentation differently. I have just released 0.05.