David M Lloyd <[EMAIL PROTECTED]> writes:
> On 24 Apr 2001, Russ Allbery wrote:

>> The switch from -> to . makes perfect sense from a C perspective if we're
>> turning objects into first-class entities rather than pointers; think
>> about a struct versus a pointer to a struct.
>> 
>> -> makes you remember that things are pointers.

> What's wrong with using both?  You could use -> if you're working with a
> reference to an object, and you could use . if you're working with the
> object itself.

It seems relatively unlikely in the course of normal Perl that you're
going to end up with very many references to objects.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to