Bug #77447 mtr_cases.pm: Can't use 'defined(@array)' with Perl 5.22
Submitted: 23 Jun 2015 6:51 Modified: 23 Jun 2015 6:51
Reporter: Norvald Ryeng Email Updates:
Status: Verified Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S3 (Non-critical)
Version:5.5.43 OS:Any
Assigned to: CPU Architecture:Any

[23 Jun 2015 6:51] Norvald Ryeng
Description:
Bug forwarded from Debian:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789636

With Perl 5.22:

cd /«PKGBUILDDIR»/builddir/mysql-test && perl ./mysql-test-run.pl --force
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at lib/m
tr_cases.pm line 340.
Compilation failed in require at ./mysql-test-run.pl line 95.
BEGIN failed--compilation aborted at ./mysql-test-run.pl line 95.

How to repeat:
Run MTR with Perl 5.22.