In Snowleopard, the kernel runs in 32-bit mode, and the user interface is mostly in 64-bit mode. The kernel can run 32-bit and 64-bit user applications without problems. You need to tell the perl build system to create only a 32-bit binary. This is done by setting the -arch gcc flag.
For a simple single-file application, you will do this as follows:
gcc -arch i386 -o app app.m -lobjc -framework CoreFoundation -framework Cocoa
In your case, you need to pass the arch flag to the build system. I am not a perl expert, but I would configure perl as follows:
./Configure -Dprefix = / usr / local -A ccflags = "- arch i386"
source share