J
John
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 =@{$_};
for(@array)
{
print $_
}
print "\n";
}
print "#################################\n";
}
but i get told that
"Can't use string ("R03210") as an ARRAY ref while "strict refs" in use
at graph.plx line 46."
where line 46 is the line that says "my @array =@{$_};" but I'm sure
that it is a 3 dimensional array
that I am passing it at the start. Thanks.
array using the following code
for(@AoAoA)
{
my @AoA =@{$_};
for(@AoA)
{
my @array =@{$_};
for(@array)
{
print $_
}
print "\n";
}
print "#################################\n";
}
but i get told that
"Can't use string ("R03210") as an ARRAY ref while "strict refs" in use
at graph.plx line 46."
where line 46 is the line that says "my @array =@{$_};" but I'm sure
that it is a 3 dimensional array
that I am passing it at the start. Thanks.