On Thu, 26 Dec 2002 14:59:34 -0500 (EST) Paul Boutros <[EMAIL PROTECTED]> 
wrote:

> > The syntax 
> > 
> >         $domain_array->[0][0]
> 
> I could be wrong, but my understanding is that this is equivalent to:
> $domain_array[0][0]
> which looks far nicer to my (C++ trained_) eyes
> 
> I think it is also equivalent to:
> $domain_array->[0]->[0]
> which sort of makes the internal structure clearer.

$domain[0] looks for element 0 in @domain.
$domain->[0] looks for element 0 in the anonymous array referenced by
$domain.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


Reply via email to