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


in reply to loop inside system command

I'd recommend using the multi-argument variant of system().
system("C:\\execu", $firstbuild, @otherbuilds, 'file.c') and die "System command failed";

stephen