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

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

Thread Previous | Thread Next
From:
Ricardo Signes
Date:
August 17, 2012 08:49
Subject:
Re: fixing smartmatch just hard enough (and when, too)
Message ID:
20120817154933.GA30650@cancer.codesimply.com
* Brad Baxter <bmb@mail.libs.uga.edu> [2012-08-17T11:35:24]
> 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?  :-)

Yes, good job!

-- 
rjbs

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