The default perl for Mac OS X 10.6 runs in 64-bit mode by default. The problem for Mac-Carbon is that significant portions of the Carbon API are unavailable to 64-bit programs on Mac OS X.
Perhaps a subset of the API could be made available to a 64-bit perl (for more information see Apple's "64-Bit Guide for Carbon Developers"), and might in the future, but it's simpler at this point to just run perl in 32-bit mode.
There's a few ways to do this. Most obviously, you could simply build a 32-bit perl. I always build my own perl, and I just compile it for 32 bits.
There's also two methods mentioned in L under Mac OS X 10.6: you can set an environment variable, or set a system preference. For the environment use:
And for the system preference, execute this line in your terminal:
defaults write com.apple.versioner.perl Prefer-32-Bit -bool yes
Cross-posted on <pudge/*>.