CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Not an ARRAY reference at


New User

May 6, 2013, 11:42 AM

Post #1 of 2 (547 views)
Not an ARRAY reference at Can't Post

Please excuse my ignorance with Perl. Iím trying to pass an array to and getting the following error:

Not an ARRAY reference at line 1694.

Hereís a snippet of my code:

my @xy_new;

foreach my $viac (@xy) {

my $vdiff = $viac-$viad;



if ($bndry) {

$outGds -> printBoundary (





Where am I going wrong?

New User

May 6, 2013, 1:45 PM

Post #2 of 2 (543 views)
Re: [lreni] Not an ARRAY reference at [In reply to] Can't Post

Never mind. Found the problem. I was referncing other variables which caused the problem. Should have been written this way:

if ($bndry) {
$outGds -> printBoundary (


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives