Help for this page

Select Code to Download


  1. or download this
    my $rowcache = runQuery($query,"Table",\@ids);
    print "RunQuery results: ".scalar(@$rowcache)." rows\n";
    
  2. or download this
    while (my $result = shift(@$rowcache) ) {   
       print OUT $result->{'id'}."\t".$result->{'Name'}."\t".$result->{'Co
    +de'}."\t".$result->{'Date'}."\t".$result->{'Comment'}."\n";
    }
    
  3. or download this
    foreach my $result (@$rowcache)  {
        print OUT $result->{'id'}."\t".$result->{'Name'}."\t".$result->{'C
    +ode'}."\t".$result->{'Date'}."\t".$result->{'Comment'}."\n";
    }