From f20e5c82f33870d4593bf20ed75be12dfa426484 Mon Sep 17 00:00:00 2001 From: Lukas Mai Date: Sun, 4 Jan 2026 13:04:41 +0100 Subject: [PATCH] fix some typos in Test2::V1 POD Also, change some `F<...>` to `L<...>` because F is for files, not URLs/hyperlinks. --- lib/Test2/V1.pm | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/lib/Test2/V1.pm b/lib/Test2/V1.pm index 243fa2d91..77be89238 100644 --- a/lib/Test2/V1.pm +++ b/lib/Test2/V1.pm @@ -320,7 +320,7 @@ thrown. =item C You can prefix an export name with C to exclude it at import time. This is -really only usedul when combined with C<-import> or C<-i>. +really only useful when combined with C<-import> or C<-i>. =item C<< EXPORT_NAME => { -as => "ALT_NAME" } >> @@ -360,8 +360,8 @@ C =head1 PRAGMAS AND PLUGINS -B -B +B +B This is a significant departure from L. @@ -369,7 +369,7 @@ You can enable all of these with the C<-pP> argument, which is short for C<-plugins, -pragmas>. C

is short for plugins, and C

is short for pragmas. When using the single-letter form they may both be together following a single dash, and can be in any order. They may also be combined with C to -bring in all imports. C<-p> or C<-P> ont heir own are also perfectly valid. +bring in all imports. C<-p> or C<-P> on their own are also perfectly valid. =over 4 @@ -434,7 +434,7 @@ See L for a list of meaningful environment variables. =head1 API FUNCTIONS -See L for these +See L for these. =over 4 @@ -487,7 +487,7 @@ can have additional tools added to it. Note that you MAY override original tools such as ok(), note(), etc. by importing different copies this way. The first time you do this there should be -no warnings or errors. If you pull in multiple tools of the same name an +no warnings or errors. If you pull in multiple tools of the same name, a redefine warning is likely. This also effects exports: @@ -532,7 +532,7 @@ Used to allow the handle to stomp on an existing namespace (NOT RECOMMENDED). Set the base class from which functions should be inherited. Normally this is set to L. -Another interesting use case is to have multiple handles that use eachothers +Another interesting use case is to have multiple handles that use each other's namespaces as base classes: use Test2::V1; @@ -550,9 +550,9 @@ namespaces as base classes: =head1 EXAMPLE USE CASES -=head2 OVERRIDING INCLUDED TOOLS WITH ALTERNATES +=head2 OVERRIDING INCLUDED TOOLS WITH ALTERNATIVES -Lets say you want to use the L version of C, +Let's say you want to use the L version of C, C instead of the L versions, and also wanted to import everything else L provides. @@ -1047,11 +1047,11 @@ scripts, but they can get in the way in many cases. Many people would put custom strict/warnings settings at the top of their tests, only to have them wiped out when they use L. -=item Assumptions of UTF8 +=item Assumptions of UTF-8 Occasionally you do not want this assumption. The way it impacts all your regular and test handles, as well as how your source is read, can be a problem -if you are not working with UTF8, or have other plans entirly. +if you are not working with UTF-8, or have other plans entirely. =item Huge default set of exports, which can grow @@ -1063,16 +1063,16 @@ a point not to break/remove exports, but there is no such commitment about adding new ones. Now the only default export is C which gives you a handle where all the -tools we expose are provided as methods. You can also use the L module (Not +tools we expose are provided as methods. You can also use the L module (not bundled with Test-Simple) for use with an identical number of keystrokes, which -allow you to leverage the prototypes on the original tool subroutines. +allows you to leverage the prototypes on the original tool subroutines. =back =head1 SOURCE The source code repository for Test2-Suite can be found at -F. +L. =head1 MAINTAINERS @@ -1097,6 +1097,6 @@ Copyright Chad Granum Eexodist@cpan.orgE. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -See F +See L. =cut