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

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

Thread Previous | Thread Next
From:
David Golden
Date:
August 28, 2012 08:59
Subject:
Re: fixing smartmatch just hard enough (and when, too)
Message ID:
CAOeq1c_Gehk0b9_Yw+EDZmfXGJ_20oTUixFSJMkCbxpBx_q34Q@mail.gmail.com
On Tue, Aug 28, 2012 at 9:06 AM, Dave Mitchell <davem@iabyn.com> wrote:

>
> Depending on how the constant value is is defined, it may be IOK or POK:
> by uncommenting the print debug, we change FOO from integer to string.


I was thinking more of the truly constant case, where constants are
providing more readable test values:

    use constant OK => 200;

-- 
*David Golden* <dagolden@cpan.org>
*Take back your inbox!* → http://www.bunchmail.com/
Twitter/IRC: @xdg

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