TAP::Parser::Result::Comment(3pm)

TAP::Parser::Result::Comment3pm

Comment result token.

Version

Version 3.50

Overview

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.

•

"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";
  }

Releases

7 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 7
  3. 8
  4. 10
  5. 11
  6. 12
  7. 13

From libtest-harness-perl 3.50-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.