Todd W <> wrote:
>
> "John" <> wrote in message
> news: oups.com...
>> Hello, just a little thing. I'm trying to print out a 3 dimensional
>> array using the following code
>>
>> for(@AoAoA)
>> {
>> my @AoA =@{$_};
>> for(@AoA)
>> {
>> my @array =@{$_};
> What is probably happening is once you enter the the first inner loop, $_
> from the outer loop is clobbered with the first array item from the inner
> loop.
That is not what is happening.
foreach/for local()izes the loop control variable, there is no
clobbering going on.
--
Tad McClellan SGML consulting
Perl programming
Fort Worth, Texas