Dan Doel wrote:


> Isn't the problem with ".." that it's matching implicitly against Perl 
> style variables?

In the "/foo/ .. /bar/" case, yes, but that's because /xxx/ does, not "..".

You could just as easily:

while (line = $stdin.gets)

    do_something_useful(line) if (line =~ /foo/ .. line =~ /bar/)
    # other magic happens here

    here_is_something_else(some_other_var, 2)
       while (some_message(n) .. another_message(x))

end


Nothing perly there.  What Matz is proposing (if I read it right, and I 
might not have) is to remove the ability to use .. as a scalar flip-flop 
as a boolean.  (Or did I misread that?)