Re: length of an array in a struct in an array of structs in a struct in an array of structs
- From: "it_says_BALLS_on_your forehead" <simon.chao@xxxxxxx>
- Date: 28 Jul 2005 09:18:10 -0700
hmm, i'm unsure why you want to do everything in one line. try breaking
it up.
this is part of a double nested loop i'm assuming.
for my $i (0..$#VisitArray) {
my $PSearchArray_ref = $VisitArray[$i];
my @PSearchArray = @{$PSearchArray_ref};
for my $j (0..$#PSearchArray) {
$k < scalar(@{$PSearchArray[$j]});
}
}
i think that would work and is what you want--i could be wrong on both
counts though *shrug*
.
- References:
- Prev by Date: FAQ 1.7 How stable is Perl?
- Next by Date: Re: multidimensional insertion order
- Previous by thread: length of an array in a struct in an array of structs in a struct in an array of structs
- Next by thread: Re: length of an array in a struct in an array of structs in a struct in an array of structs
- Index(es):
Relevant Pages
|
|