ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Relational Modeling of Biological Data: Trees and Graphs
Subject:   fetch() without execute() error in Example 1
Date:   2003-06-15 11:49:37
From:   anonymous2
Response to: fetch() without execute() error in Example 1

Aaron generously offered a solution via email:


In the script, replace the following line:


while(my ($id) = $children->fetchrow_array) {

With this:


for my $row (@{$children->fetchall_arrayref}) {
my ($id) = @$row;


Thanks, Aaron!


1 to 1 of 1
  1. fetch() without execute() error in Example 1
    2004-01-11 11:31:44  anonymous2 [View]

    • fetch() without execute() error in Example 1
      2006-02-06 10:55:01  Aaron Mackey | [View]

1 to 1 of 1