Recently I visited the
Perl6 development site and downloaded some of the RFCs. I found
RFC 164 very interesting. Its title is 'Replace =~, !~, m//, s///, and tr// with match(), subst(), and trade()'. I think that it is not a good idea. We like m//, s/// and tr// in this way. This effort would make one-liners turn into ten-liners. Not to mention obfuscated code. But the main problem is: our brain is accustomed to read Perl code. It is harder to read:
next if match /\s+/ or match /\w+/;
# than
next if /\s+/ || /\w+/;
What do You think?
<-- z0d -->