demerphq wrote:
On 9/15/05, David Landgren <[EMAIL PROTECTED]> wrote:

As I was downloading the newest version of Devel::Cover this morning, I
pondered on the concept of 1 Kwalitee point for coverage >= 80% ...
I have to wonder about how you handle modules that have code that is
Perl version dependent or OS dependent. Many non-trivial modules end
up having to work around one such incompatibility or another, and
therefore can't get full coverage on a single perl/OS combination.

You could argue that such modules should have their platform/version specific bits in seperate modules, like what File::Spec does. I'd not support that argument though - it would make stuff like ...

warn("Windows isn't supported\n") if($^O =~ /win32/i);

impractical.

--
David Cantrell

Reply via email to