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

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

Is there an easy way (I'm thinking a command-line switch in prove) to bail out after the first failure in a test script? Should there be such command-line switch? Sometimes I just want to check the details of the first failure instead of being deluged by tens or hundreds of failures (and wait until the test finishes) when something goes wrong.