Why the guilty doubts? The bug does exist, is in perl 5.6.0, and has been fixed in newer versions.
This craving people have for perfect test results (and sometimes more absurdly, 100% coverage) is excessive. Tests are great for many reasons, but they are forever A TOOL.
Do you expect your code to fail on 5.6.0? If not, you shouldn't have this test. Not "shouldn't have this test fail", but not have this test, period, because it isn't indicative or a real problem. If your code can fail on 5.6.0, either make 5.6.1 a prerequisite, or decide to fix the problem -- in the code, first -- knowingly bloating your code but happy in the knowledge that you know why you did it (and that tests helped you make an informed decision).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.