1 package TAP::Parser::Result::Version;
6 use base 'TAP::Parser::Result';
10 TAP::Parser::Result::Version - TAP syntax version token.
18 our $VERSION = '3.36_01';
22 This is a subclass of L<TAP::Parser::Result>. A token of this class will be
23 returned if a version line is encountered.
29 The first version of TAP to include an explicit version number is 13.
31 =head1 OVERRIDDEN METHODS
33 Mainly listed here to shut up the pitiful screams of the pod coverage tests.
34 They keep me awake at night.
46 ##############################################################################
48 =head2 Instance Methods
52 if ( $result->is_version ) {
53 print $result->version;
56 This is merely a synonym for C<as_string>.
60 sub version { shift->{version} }