if($Config{cc} eq 'cl' && $cl_version >= $some_critical_value) {$options{clean} = 'check.exe comp.exe version.exe check.exe.manifest comp.exe.manifest version.exe.manifest} else {$options{clean} = 'check.exe comp.exe version.exe'} #### C:\_32>type try.c #include int main() { printf("Whatever ...\n"); } C:\_32>type Makefile.PL use ExtUtils::MakeMaker; system("cl try.c");