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.