Forgive me if this is a FAQ, I just joined this list, and I am desperately searching for a solution to this problem.
I am trying to get demime working on OS X with majordomo. It required some packages that I grabbed CPAN without any problems. I _think_ I'm running Perl 5.6.0, but I'm not sure because CPAN kept trying to upgrade to 5.6.1. I cancelled the upgrade, but I don't know if it went ahead and modified some files anyway or not. When I try to test demime, I get the following errors: [localhost:~] jon 3:33am % /usr/majordomo-1.94.5/demime -d - < /dev/null Bareword found where operator expected at /Library/Perl/darwin/_h2ph_pre.ph line 2, near "&/usr" (Missing operator before usr?) Unquoted string "usr" may clash with future reserved word at /Library/Perl/darwin/_h2ph_pre.ph line 2. Unquoted string "lib" may clash with future reserved word at /Library/Perl/darwin/_h2ph_pre.ph line 2. Unquoted string "dylib" may clash with future reserved word at /Library/Perl/darwin/_h2ph_pre.ph line 2. Bareword found where operator expected at /Library/Perl/darwin/_h2ph_pre.ph line 2, near "/usr/lib" (Missing operator before lib?) Unquoted string "lib" may clash with future reserved word at /Library/Perl/darwin/_h2ph_pre.ph line 2. syntax error at /Library/Perl/darwin/_h2ph_pre.ph line 2, near "&/usr" Compilation failed in require at /Library/Perl/darwin/sysexits.ph line 1. Compilation failed in require at /usr/majordomo-1.94.5/demime line 25. I have an idea as to what's wrong, but I can't begin to figure out how to fix it. I tried reinstalling perl from the OS X CD via Pacifist, but it didn't make any difference. This is line 2 from _h2ph_pre.ph: unless (defined (&/usr/lib/libSystem.B.dylib)) { sub /usr/lib/libSystem.B.dylib() { 1 } } thanks, jon