summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhmylove <zhmylove@narod.ru>2022-02-15 18:11:03 +0300
committerJames E Keenan <jkeenan@cpan.org>2022-02-15 21:04:10 +0000
commit982e3deedee88efd03f384101a5626f990dfde46 (patch)
treeff1f7e6d5a6f88300cbad3dcf385fd13e4cc97c4
parentf299ccd17382e0710752b2af03d9e54d9c41afd6 (diff)
downloadperl-982e3deedee88efd03f384101a5626f990dfde46.tar.gz
perlop.pod: Fix typo in smartmatch example
Committer: Sergey Zhmylove is now a Perl author For: https://github.com/Perl/perl5/pull/19422
-rw-r--r--AUTHORS1
-rw-r--r--pod/perlop.pod4
2 files changed, 3 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index 3b75243c1f..fe2bd2810a 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1178,6 +1178,7 @@ Sebastien Barre <Sebastien.Barre@utc.fr>
Sergey Alekseev <varnie29a@mail.ru>
Sergey Aleynikov <sergey.aleynikov@gmail.com>
Sergey Poznyakoff <gray@gnu.org>
+Sergey Zhmylove <zhmylove@narod.ru>
Sergiy Borodych <bor@cpan.org>
Sevan Janiyan <venture37@geeklan.co.uk>
Shawn <svicalifornia@gmail.com>
diff --git a/pod/perlop.pod b/pod/perlop.pod
index 42ec814655..4328861105 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -743,7 +743,7 @@ the table is sorted on the right operand instead of on the left.
like: grep { exists HASH->{$_} } ARRAY
Regexp HASH any HASH keys pattern match Regexp
like: grep { /Regexp/ } keys HASH
- undef HASH always false (undef can't be a key)
+ undef HASH always false (undef cannot be a key)
like: 0 == 1
Any HASH HASH key existence
like: exists HASH->{Any}
@@ -759,7 +759,7 @@ the table is sorted on the right operand instead of on the left.
Any CODE sub passed Any returns true
like: CODE->(Any)
-Right operand is a Regexp:
+ Right operand is a Regexp:
Left Right Description and pseudocode
===============================================================