> I still think it's a good idea - better than any other proposed so far.
>
> Are we so afraid of a little mandatory disambiguating white space
> that we are willing to pay the price of contorting other syntax
> beyond the bounds of sanity? :-)
>
> It's perfectly obvious to me that
>
> $x = $foo . bar;
>
> "wants" to mean concatenation, and that
>
> $x = $foo.bar;
>
> doesn't.
>
> Well, that's this inmate's HO anyway.
>
> John.
I agree. The more I think about it, the more I like it. Think about it; we are
actually considering space *by itself* to be syntax. Which is bound to cause
more problems than space + '.'.
As for usability, I remember one project where someone had done this exact same
thing (via Filter::Util::Call) and it didn't cause any problems that I can
remember.
I guess my question is what would be the syntax to access hashes? Would
$hashref.{ }
be that desirable? I really like ->{ } in that case..
Ed
- Re: Strings vs Numbers (Re: Tying & Overloading) Bart Lateur
- Re: Strings vs Numbers (Re: Tying & Overloading) John L. Allen
- Re: Strings vs Numbers (Re: Tying & Overloading) Michael G Schwern
- Re: Strings vs Numbers (Re: Tying & Overloading) Edward Peschko
- Re: Strings vs Numbers (Re: Tying & Overloadin... Edward Peschko
- Re: Strings vs Numbers (Re: Tying & Overloading) Michael G Schwern
- Re: Strings vs Numbers (Re: Tying & Overloadin... Nathan Wiger
- Re: Strings vs Numbers (Re: Tying & Overloading) John L. Allen
- Re: Strings vs Numbers (Re: Tying & Overloading) Edward Peschko
- Re: Strings vs Numbers (Re: Tying & Overloading) Larry Wall
- Re: Strings vs Numbers (Re: Tying & Overloading) Edward Peschko
- Re: Strings vs Numbers (Re: Tying & Overloading) Larry Wall
- Re: Strings vs Numbers (Re: Tying & Overloading) Peter Scott
- Re: Strings vs Numbers (Re: Tying & Overloadin... Randal L. Schwartz
- Re: Strings vs Numbers (Re: Tying & Overloading) Bart Lateur
- Re: Strings vs Numbers (Re: Tying & Overloading) Bart Lateur
- Re: Strings vs Numbers (Re: Tying & Overloading) Larry Wall
- Re: Strings vs Numbers (Re: Tying & Overloading) Eric Roode
