TAP::Parser::Result::Comment - Comment result token.
Version 3.47
This is a subclass ofTAP::Parser::Result. A token of this class will be returned if a comment line is encountered.
1..1ok 1 - woo hooo!# this is a comment
Mainly listed here to shut up the pitiful screams of the pod coverage tests. They keep me awake at night.
as_string
Note that this method merely returns the comment preceded by a '# '.
comment
if ( $result->is_comment ) { my $comment = $result->comment; print "I have something to say: $comment";}
Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.
The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.