That did it, thanks Tim and John.
- B
__________________
You can try something like this:
print "@{$fComments[0]}\n";
Which will attempt to dereference the array at $fComments[0].
-----Original Message-----
From: Bryan R Harris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: referring to an array in an array of arrays
How can I get at an array in an array of arrays?
I'm creating the arrays using:
$fComments[$i++] = [ @comments ];
Now I want to get back what I put in:
print "$fComments[0]\n";
but this prints ARRAY(0x107671f0). How do I follow that pointer?
(I really think we need a pre-beginners list... =)
TIA.
- B
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]