http://qs1969.pair.com?node_id=218130

c has asked for the wisdom of the Perl Monks concerning the following question:

i've just started work on a Makefile.PL script that will hopefully provide an easy method of installation of a tool across platforms. I'm finding though, that in order for 'make install' to run properly, win32 boxes need a compiler of some sort, like cygwin, or I am sure one of others available. Is there an easy method to test for such a compiler on Win32 via the makefile? I'd like to try and find a more thorough method of discovering the environment rather than just spitting out something stating "Win32 machines will require a compiler if you plan on installing this to a directory other than the local one."

thanks -c