develooper Front page | perl.perl6.language | Postings from September 2002

Re: Regex query

From:
Jonathan Scott Duff
Date:
September 20, 2002 20:27
Subject:
Re: Regex query
Message ID:
20020920222657.C7420@cbi.tamucc.edu
On Fri, Sep 20, 2002 at 10:16:38PM -0400, Chip Salzenberg wrote:
> According to John Williams:
> > I believe the last two cases should be:
> >     (7,)    == 1
> >     (,)     == 0
> 
> Gack!  It's Python's tuple syntax!  Run away!  Run away!
> 
> Seriously, having actually programmed Python for money (no smiley --
> it was NOT fun), I can say that this syntactical hack would be a
> horrible choice for borrowing from Python.  

I would be surprised if the entire Perl community didn't unanimously
agree with you.  I know this is one of the pythonisms that bugs me the
most.

-Scott
-- 
Jonathan Scott Duff
duff@cbi.tamucc.edu



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