diff options
author | zhmylove <zhmylove@narod.ru> | 2022-02-15 18:11:03 +0300 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2022-02-15 21:04:10 +0000 |
commit | 982e3deedee88efd03f384101a5626f990dfde46 (patch) | |
tree | ff1f7e6d5a6f88300cbad3dcf385fd13e4cc97c4 | |
parent | f299ccd17382e0710752b2af03d9e54d9c41afd6 (diff) | |
download | perl-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-- | AUTHORS | 1 | ||||
-rw-r--r-- | pod/perlop.pod | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -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 =============================================================== |