John Porter writes:
: Larry Wall wrote:
: > Surely it's not the . itself, but the requirement that you fit everything
: > into that one syntactic mold.  Perl's not going to do that.
: 
: I'm not opposed to the change, but I want to make one point:
: certain characters (like dot) are special in regexes, so
: when you want to search for them, you have to escape them,
: whether in vi, or with grep, or perl, or whatever.
: String concats with dot are uncommon enough; but member
: access is quite common.

Okay, but it's just as many characters to say -> as it is \., y'know.

There *is* one place where it's more problematic to use ., and that's
interpolating method calls.  For this reason, method interpolations
are likely to require parentheses, even if there are no arguments.
Otherwise "$file.ext" is gonna break badly.

Larry

Reply via email to