
lreni
New User
May 6, 2013, 11:42 AM
Post #1 of 2
(532 views)
|
Not an ARRAY reference at GDS2.pm
|
Can't Post
|
|
Please excuse my ignorance with Perl. I’m trying to pass an array to GDS2.pm and getting the following error: Not an ARRAY reference at GDS2.pm line 1694. Here’s a snippet of my code: my @xy_new; foreach my $viac (@xy) { my $vdiff = $viac-$viad; push(@xy_new,$vdiff); } if ($bndry) { $outGds -> printBoundary ( -layer=>\$targetV1L, -dataType=>\$targetV1D, -xyInt=>\@xy_new, ); Where am I going wrong?
|