develooper Front page | perl.perl5.porters | Postings from August 2012

Re: fixing smartmatch just hard enough (and when, too)

Thread Previous | Thread Next
From:
Brad Baxter
Date:
August 17, 2012 08:35
Subject:
Re: fixing smartmatch just hard enough (and when, too)
Message ID:
CANBtU9aikqC1yx5C4kvwT6CXV9decyAH1QX_bUVXOhky0U3Vng@mail.gmail.com
On 8/16/12, Ricardo Signes <perl.p5p@rjbs.manxome.org> wrote:

>   if ($x ~~ any( qw( John Paul Ringo ) )) {
>     tune_strings;
>   } else {
>     tap_drumps;
>   }

You're just checking if we're paying attention, right?  :-)

-- 
Brad

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About