develooper Front page | perl.perl6.language | Postings from April 2001

Re: YA string concat proposal

Thread Previous | Thread Next
From:
Stephen P. Potter
Date:
April 24, 2001 15:17
Subject:
Re: YA string concat proposal
Message ID:
20010424221907.4CDD8729E1@belgarath.spotter.yi.org
Lightning flashed, thunder crashed and Garrett Goebel <garrett@scriptpro.com> w
hispered:
| cmp             ~<=>
| .=              ~+=
|                 ~=+ (concat after)
| =~              =~
| !~              !~

It's not bad enough that we're getting a proliferation of trigraph
operators, now you want to add a quadgraph?  No thank you.

Oh, and since it hasn't been mentioned for awhile, I'd still prefer if =~
and !~ went away and were replaced by match(string, [pattern], options),
replace(string, [pattern], options) and trans(string, ["pattern"], options)
or some such.  This is one place where I think PHP had a really good idea,
but missed the mark a little.  ereg_* and eregi_* and preg_* and pregi_*,
ugghhh...

-spp

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