$Config{cc} may be valid but not contain the name of any file on your system. eg, it could be 'ccache cc'.
The same question (presumably from the same monk) was asked on the module-authors mailing list: http://www.nntp.perl.org/group/perl.module-authors/2009/10/msg7927.html. There are several possible solutions posted there.
In reply to Re^2: How to best detect availability of C compiler in Makefile.PL?
by DrHyde
in thread How to best detect availability of C compiler in Makefile.PL?
by stbey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |