>>>>> "Nick" == Nick Transier <[EMAIL PROTECTED]> writes:

Nick> So then would I access the nth element by
Nick> @{$self->{Next}}[n]  ??

Uh, no.  That looks like @foo[3], which works for some broken values
of "works".  You want $foo[3], so to backtrace that, use ${$self->{Next}}[$n],
also written as $self->{Next}->[$n] or $self->{Next}[$n].

But you can read "perldoc perlreftut" to get more info.

The problem with references is that they have a very hard to explain
but completely intuitive interface. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to