Skip Menu |

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

Report information
The Basics
Id: 125294
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Test-Conditions

People
Owner: MMCCLENN [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails with perls < 5.10
As per subject. Best illustrated with the matrix: http://matrix.cpantesters.org/?dist=Test-Conditions%200.82 Sample fail report: http://www.cpantesters.org/cpan/report/94929106 Diagnostics: Error: Bareword "d" not allowed while "strict subs" in use at lib/Test/Conditions.pm line 98. Line blamed: https://metacpan.org/source/MMCCLENN/Test-Conditions-0.82/lib/Test/Conditions.pm#L98 If you want to keep the '//' operator it would be cool if you could predeclare the dependency. That way the FAILS are converted to UNKNOWNS. Details about how to do it are on this page: http://wiki.cpantesters.org/wiki/CPANAuthorNotes Thanks!
I have updated the code so that it no longer uses //. This fixes the problem. Thank you for pointing that out.