Test2::Event::TAP::Version(3) User Contributed Perl Documentation Test2::Event::TAP::Version(3)

# [NAME](#NAME)

Test2::Event::TAP::Version - Event for TAP version.

# [DESCRIPTION](#DESCRIPTION)

This event is used if a TAP formatter wishes to set a version.

# [SYNOPSIS](#SYNOPSIS)

```
    use Test2::API qw/context/;
    use Test2::Event::Encoding;
    my $ctx = context();
    my $event = $ctx->send_event('TAP::Version', version => 42);
```

# [METHODS](#METHODS)

Inherits from Test2::Event. Also defines:

$version = $e-&gt;version

The TAP version being parsed.

# [SOURCE](#SOURCE)

The source code repository for Test2 can be found at &lt;https://github.com/Test-More/test-more/&gt;.

# [MAINTAINERS](#MAINTAINERS)

[Chad Granum &lt;exodist@cpan.org&gt;](#Chad)

# [AUTHORS](#AUTHORS)

[Chad Granum &lt;exodist@cpan.org&gt;](#Chad~2)

# [COPYRIGHT](#COPYRIGHT)

Copyright Chad Granum &lt;exodist@cpan.org&gt;.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See &lt;https://dev.perl.org/licenses/&gt;

2026-10-19 perl v5.44.0

---

Document: Test2::Event::TAP::Version(3pm) from perl-test-simple 1.302226-r0 (Chainguard OS)
Source: https://github.com/Test-More/test-more
