>But you said "lists" up there and that sparked an idea in me ...  What
>does 

>       @a =~ /pattern/;

>currently do?  AFAICT, nothing useful.  But it could be a syntactic
>shorcut for a pattern matching grep()

That changes semantics in places you might not expect.   What does

    fn() =~ /pattern/

currently do?  It calls fn() in scalar context, of course.
But with your suggestion, the =~ operator is no longer a scalar
operator, so this changes.

--tom

Reply via email to