Skip Menu |

This queue is for tickets about the File-MMagic CPAN distribution.

Report information
The Basics
Id: 77410
Status: open
Priority: 0/
Queue: File-MMagic

People
Owner: Nobody in particular
Requestors: HMBRAND [...] cpan.org
Cc:
AdminCc:

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



Subject: Cause #FAIL of Test::NoWarnings under 5.16.0
File/MMagic.pm#1122: elsif (defined @$entry) { => elsif (ref $entry eq "ARRAY" and @$entry) { to prevent # Failed test 'no warnings' # at /pro/lib/perl5/site_perl/5.16.0/Test/NoWarnings.pm line 45. # There were 2 warning(s) # Previous test 0 '' # defined(@array) is deprecated at /pro/lib/perl5/ site_perl/5.16.0/File/MMagic.pm line 1122. # at /pro/lib/perl5/site_perl/5.16.0/File/MMagic.pm line 1122.
On Thu May 24 14:30:27 2012, HMBRAND wrote: Show quoted text
> File/MMagic.pm#1122: > > elsif (defined @$entry) { > => > elsif (ref $entry eq "ARRAY" and @$entry) { > > to prevent > > # Failed test 'no warnings' > # at /pro/lib/perl5/site_perl/5.16.0/Test/NoWarnings.pm line 45. > # There were 2 warning(s) > # Previous test 0 '' > # defined(@array) is deprecated at /pro/lib/perl5/ > site_perl/5.16.0/File/MMagic.pm line 1122. > # at /pro/lib/perl5/site_perl/5.16.0/File/MMagic.pm line 1122.
This is the same as ticket #74252.