Re: RFC 170 (v1) Generalize =~ to a special-purpose assignment operator

[email protected] (Bart Lateur)
Newsgroups perl.perl6.language.regex
Organization MediaMind
Message-ID <[email protected]>
On 30 Aug 2000 02:07:24 -0000, Perl6 RFC Librarian wrote:

>Generalize =~ to a special-purpose assignment operator

Personally, I think of it as the "apply to" operator, as opposed to the
"assign to" operator:

	=	assign the RHS to the LHS
	=~	apply the RHS to the LHS


perlop calls it a "binding operator". That's fine too, apart from this
error in perlop:

	Binary "=~" binds a scalar expression to a pattern match.

I'm sorry, but it applies to tr/// too, and that IS NOT a pattern match.

-- 
	Bart.
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.