I have the latest OS X (10.6.7) and had installed 5.12.3 using perlbrew, with default options and under XCode 3.4.1. I had no problems installing any module distributions with this perl until I upgraded to XCode 4. When I attempted to upgrade IO::AIO, all the tests failed with the error 'Bareword "O_RDONLY" not allowed while "strict subs"'. Using the
diff tool on search.cpan.org I didn't see any change that would account for that, so I downloaded the previous version that I had already successfully installed, and the tests for that version now failed similarly. So I rebuilt perl under XCode 4 and still no go. Does anybody here have any solutions or ideas?