1TAP::Parser::Result::BaiPleorult(P3rpomg)rammers RefereTnAcPe::GPuairdseer::Result::Bailout(3pm)
2
3
4
6 TAP::Parser::Result::Bailout - Bailout result token.
7
9 Version 3.17
10
12 This is a subclass of TAP::Parser::Result. A token of this class will
13 be returned if a bail out line is encountered.
14
15 1..5
16 ok 1 - woo hooo!
17 Bail out! Well, so much for "woo hooo!"
18
20 Mainly listed here to shut up the pitiful screams of the pod coverage
21 tests. They keep me awake at night.
22
23 ยท "as_string"
24
25 Instance Methods
26 "explanation"
27
28 if ( $result->is_bailout ) {
29 my $explanation = $result->explanation;
30 print "We bailed out because ($explanation)";
31 }
32
33 If, and only if, a token is a bailout token, you can get an
34 "explanation" via this method. The explanation is the text after the
35 mystical "Bail out!" words which appear in the tap output.
36
37
38
39perl v5.12.4 2011-06-07 TAP::Parser::Result::Bailout(3pm)