In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/107bd1173cd0e834849d7ce5b0c1212929791181?hp=2d0587d88005126a9e730f38f7feb0c203e238a4>
- Log ----------------------------------------------------------------- commit 107bd1173cd0e834849d7ce5b0c1212929791181 Author: Rafael Garcia-Suarez <[email protected]> Date: Fri Jul 24 09:26:52 2009 +0200 Thinko in given() description, found by chromatic ----------------------------------------------------------------------- Summary of changes: pod/perlsyn.pod | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index 9212573..9aa8fbb 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. -- Perl5 Master Repository
