Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

renodino (6856)

  (email not shown publicly)

Perl Contrarian & SQL fanboy.

Here's my CPAN goods. []

Journal of renodino (6856)

Tuesday March 18, 2008
10:35 AM

CPAN Testers, I love you, but, seriously, we need to talk.

[ #35930 ]
I got a couple CPAN tester failures in my email today:

FAIL Win32-Font-NameToFile-0.10 x86_64-linux-thread-multi-ld
FAIL Win32-WebBrowser-1.02 x86_64-linux-thread-multi-ld

Yes, I'm shocked, shocked! to learn my Win32 modules failed on 64 bit Linux!

Seriously: I think we can do a better filtering job than this...if for no other reason than running tests for Win32 packages on Linux is a waste of CPANTester resources. How about

if (($filename=~/^Win32/) && ($^O ne 'MSWin32'))
    next;  # NO SOUP FOR YOU!!!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • That's not their fault for running it, it's your fault for not telling them not to.

    You are supposed to have your Makefile.PL abort appropriately if you see you are on a platform that you don't support.

    There are, in fact, some Win32:: modules that DO run on Linux under certain wine'y scenarios. So a filename-related shortcut wouldn't work.

    Your Makefile.PL already says what dependencies and what perl version it needs. It should also abort cleanly if it doesn't support some host.

    That way they don't have to gue
  • Sounds like it might be a job for Devel::AssertOS [].

    • Except that it would be a configure-time dependency, which isn't officially supported yet...