1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
Description: Fix typos detected by lintian
Author: Nick Morrott <nickm@debian.org>
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=142135
Last-Update: 2022-04-07
---
--- a/lib/Template/Alloy.pod
+++ b/lib/Template/Alloy.pod
@@ -458,7 +458,7 @@
=item C<define_directive>
-This method can be used for adding new directives or overridding existing
+This method can be used for adding new directives or overriding existing
ones.
Template::Alloy->define_directive(
@@ -838,7 +838,7 @@
[% [4, 5, 6].size %] Prints 3.
[% [7, 8, 9].reverse.0 %] Prints 9.
-Note: virtual methods can only be used on array contructs in Alloy, not in TT.
+Note: virtual methods can only be used on array constructs in Alloy, not in TT.
=item Quoted Array Constructs.
@@ -859,7 +859,7 @@
[% {Tom => 'You are Tom',
Kay => 'You are Kay'}.$name %] Prints You are Tom
-Note: virtual methods can only be used on hash contructs in Alloy, not in TT.
+Note: virtual methods can only be used on hash constructs in Alloy, not in TT.
=item Regex Constructs.
--- a/lib/Template/Alloy/Parse.pm
+++ b/lib/Template/Alloy/Parse.pm
@@ -1081,7 +1081,7 @@
=head1 DESCRIPTION
-The Template::Alloy::Parse role is reponsible for storing the majority
+The Template::Alloy::Parse role is responsible for storing the majority
of directive parsing code, as well as for delegating to the TT, HTE,
Tmpl, and Velocity roles for finding variables and directives.
--- a/lib/Template/Alloy/TT.pm
+++ b/lib/Template/Alloy/TT.pm
@@ -838,7 +838,7 @@
=item
-Added qw// contructor. (TT3)
+Added qw// constructor. (TT3)
[% a = qw(a b c); a.1 %] # = b
@@ -846,7 +846,7 @@
=item
-Added regex contructor. (TT3)
+Added regex constructor. (TT3)
[% "FOO".match(/(foo)/i).0 %] # = FOO
|