1TAP::Parser::Result::CoUmsmeerntC(o3n)tributed Perl DocuTmAePn:t:aPtairosner::Result::Comment(3)
2
3
4

NAME

6       TAP::Parser::Result::Comment - Comment result token.
7

VERSION

9       Version 3.42
10

DESCRIPTION

12       This is a subclass of TAP::Parser::Result.  A token of this class will
13       be returned if a comment line is encountered.
14
15        1..1
16        ok 1 - woo hooo!
17        # this is a comment
18

OVERRIDDEN METHODS

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           Note that this method merely returns the comment preceded by a '#
26           '.
27
28   Instance Methods
29       "comment"
30
31         if ( $result->is_comment ) {
32             my $comment = $result->comment;
33             print "I have something to say:  $comment";
34         }
35
36
37
38perl v5.28.1                      2018-03-19   TAP::Parser::Result::Comment(3)
Impressum