http://www.perlmonks.org?node_id=640562


in reply to Re^2: Configuring Mac OS X to Install Perl Modules
in thread Configuring Mac OS X to Install Perl Modules

Xcode contains more than just a compiler. In fact, if you just installed GCC, it wouldn't work.

The actual item needed is the 'BSD Subsystem', which contains the necessary header files.