in reply to Re: Re: Re: Re: build array of geometry data
in thread build array of geometry data
my @nloops = join(',',@{$collection[0]}); and try
print @nloops[1] OUT
but the correct should be[1,1,1,1,1]
1
Actually, there is nothing in @nloops[1]. It's not defined. join returns a scalar. Setting a scalar to @nloops places the scalar in $nloop[0].
What you probably wanted to do is:
my @nloops = @{ $collection[0] };
Now @nloops contains a list of values. $nloops[0] now contains 1.
HTH,
Charles K. Clarkson
Clarkson Energy Homes, Inc.
|
---|
In Section
Seekers of Perl Wisdom