On Mon, Feb 20, 2006 at 11:36:27AM +0000, Barbie wrote: > > 12. System is incompatible with the package. > > Linux::, Win32::, Mac:: modules. Irreconcilable differences. > > Not sure how you would cover this, but point 12 seems to possibly fit. > POSIX.pm is created for the platform it's installed on. A recent package > I was testing, File::Flock (which is why I can't install PITA) attempted > to use the macro EWOULDBLOCK. Windows doesn't support this, and there > doesn't seem to be a suitable way to detect this properly.
use POSIX "EWOULDBLOCK"; $ok = eval { EWOULDBLOCK(); 1 }; print $ok