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

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

I have some perl code that calls cmd. I get the exitcode and if its a core dump, I print 'BAD' before the file name that caused the dump, otherwise I print the results. What I have found out is that the bad files will print all in a bunch at the end of the output and not interspaced within as I expected. What'z going on!?