diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-07-24 09:26:52 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-07-24 09:26:52 +0200 |
commit | 107bd1173cd0e834849d7ce5b0c1212929791181 (patch) | |
tree | 8a594ea66f99862810722dc0df64ccb62791247d /pod | |
parent | 2d0587d88005126a9e730f38f7feb0c203e238a4 (diff) | |
download | perl-107bd1173cd0e834849d7ce5b0c1212929791181.tar.gz |
Thinko in given() description, found by chromatic
Diffstat (limited to '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 92125735a8..9aa8fbb1b5 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -633,7 +633,7 @@ you want. For example you could write: when (/^\d+$/ && $_ < 75) { ... } Another useful shortcut is that, if you use a literal array -or hash as the argument to C<when>, it is turned into a +or hash as the argument to C<given>, it is turned into a reference. So C<given(@foo)> is the same as C<given(\@foo)>, for example. |