| package TAP::Parser::Result::Version; |
| use vars qw($VERSION @ISA); |
| @ISA = 'TAP::Parser::Result'; |
| TAP::Parser::Result::Version - TAP syntax version token. |
| This is a subclass of L<TAP::Parser::Result>. A token of this class will be |
| returned if a version line is encountered. |
| The first version of TAP to include an explicit version number is 13. |
| =head1 OVERRIDDEN METHODS |
| Mainly listed here to shut up the pitiful screams of the pod coverage tests. |
| They keep me awake at night. |
| ############################################################################## |
| if ( $result->is_version ) { |
| This is merely a synonym for C<as_string>. |
| sub version { shift->{version} } |