diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-05-24 17:31:15 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-05-24 17:31:15 +0200 |
commit | 6f76d139d7a6eead1be43e6e20b74edbdac0e8ff (patch) | |
tree | d73d0a3bded716bf249de11b637432ef2525b4e3 /pod/perlsyn.pod | |
parent | b15feb55e45b2354be3659a613d28786b2518244 (diff) | |
download | perl-6f76d139d7a6eead1be43e6e20b74edbdac0e8ff.tar.gz |
Change the specs of %h~~%h to avoid mentioning ~~ recursively
Diffstat (limited to 'pod/perlsyn.pod')
-rw-r--r-- | pod/perlsyn.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index 94a56777a8..4302cf495f 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -700,7 +700,7 @@ and "Array" entries apply in those cases. (For blessed references, the Array CodeRef sub truth for each elt[1] !grep { !$b->($_) } @$a Any CodeRef scalar sub truth $b->($a) - Hash Hash hash keys identical [sort keys %$a]~~[sort keys %$b] + Hash Hash hash keys identical (every key is found in both hashes) Array Hash hash slice existence grep { exists $b->{$_} } @$a Regex Hash hash key grep grep /$a/, keys %$b undef Hash always false (undef can't be a key) |