Skip Menu |

This queue is for tickets about the Test-Mocha CPAN distribution.

Report information
The Basics
Id: 128420
Status: resolved
Priority: 0/
Queue: Test-Mocha

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

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



Subject: Undeclared dependency on UNIVERSAL::ref
As per subject. Sample fail report: http://www.cpantesters.org/cpan/report/102194020 (version 0.66) Coming from line: https://metacpan.org/source/STEVENL/Test-Mocha-0.66/lib/Test/Mocha/Mock.pm#L12 Line itself: use if $] lt '5.025', 'UNIVERSAL::ref'; So it is only a dependency on perl 5.24 and lower-than, but it needs to be declared nonetheless. Note (drive-by-diagnostics): comparing version numbers with 'lt' operator is only correct for a very limited class of comparisons.
UNIVERSAL::ref was added back as a required dependency