Need to iterate a hash returned from a mysql query
Ok - I have the following member function. sub GetCategories { my $sth = $dbh->prepare("SELECT CatID, CatName, CatLink FROM Categories"); $sth->execute() or die $DBI::errstr; my $results = $sth->fetchall_arrayref({}); return($results); ` $sth->finish(); } I call it with: my $Cats = $d2s->GetCategories();…