Re: RFC 164 (v1) Replace =~, !~, m//, and s/// with match() and subst()

[email protected] (Tom Christiansen)
Newsgroups perl.perl6.language.regex
Message-ID <751.967477332@chthon>
>> >    next if /\s+/ || /\w+/;          next if match /\s+/ or match /\w+/;
>> 
>> Gosh this is annoying.  I *really* don't want to have to type "match"
>> all the time.  And now I have to use C<or> rather than C<||>, which is
>> already ingrained in my head  (I rarely use "or" or "and")

There are thirteen years of precedent, not to mention the millions of users,
who are completely accustomed to writing expressions like

    next if /\s+/ || /\w+/;          

It's nearly part of Perl's language signature.  I wouldn't count
on this going away if you still think to call this "Perl".  It is
of course much more likely in the renamed "Frob" language, however.

--tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.