Bug #34035 mysql-test-run.pl does not work with ActiveState Perl v 5.10.0
Submitted: 24 Jan 2008 14:31 Modified: 24 Oct 2008 10:40
Reporter: Vladislav Vaintroub Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:6.0 BK OS:Microsoft Windows
Assigned to: Magnus BlÄudd

[24 Jan 2008 14:31] Vladislav Vaintroub
Description:
Trying to execute mysql-test-run.pl results in error as below

perl mysql-test-run.pl
...
Can't use string ("0") as an ARRAY ref while "strict refs" in use at lib/mtr_cas
es.pl line 251.

the perl version reported is 
C:\bk\mysql-6.0-wtf\mysql-test>perl --version

This is perl, v5.10.0 built for MSWin32-x64-multi-thread
(with 3 registered patches, see perl -V for more detail)

...

How to repeat:
Download ActivePerl 5.10.0.1002 from the ActiveState site
http://www.activestate.com/store/download.aspx?prdGUID=81fbce82-6bd5-49bc-a915-08d58c2648c...

Run the test.

Suggested fix:
I use workaround to remove "use strict" in lib/mtr_cases.pl.
Maybe somebody with better perl knowledge can come up with a clean solution.