TAP::Parser::Result::Comment - Comment result token.
Please see following description for synopsis
Perl Programmers Reference Guide
TAP::Parser::Result::Comment(3)
NAME
TAP::Parser::Result::Comment - Comment result token.
VERSION
Version 3.42
DESCRIPTION
This is a subclass of TAP::Parser::Result. A token of this class will
be returned if a comment line is encountered.
1..1
ok 1 - woo hooo!
# this is a comment
OVERRIDDEN METHODS
Mainly listed here to shut up the pitiful screams of the pod coverage
tests. They keep me awake at night.
o "as_string"
Note that this method merely returns the comment preceded by a '#
'.
Instance Methods
"comment"
if ( $result->is_comment ) {
my $comment = $result->comment;
print "I have something to say: $comment";
}
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+-----------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+-----------------------+
|Availability | runtime/perl-532 |
+---------------+-----------------------+
|Stability | Pass-through volatile |
+---------------+-----------------------+
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from
http://www.cpan.org/src/5.0/perl-5.32.0.tar.gz.
Further information about this software can be found on the open source
community website at https://www.perl.org/.
perl v5.32.0 2020-06-14
TAP::Parser::Result::Comment(3)