Just change it like:
sub {
my $table = shift;
my $db = $DB->table($table);
$db->select_options("ORDER BY phonec_name");
my $results = $db->select()->fetchall_hashref;
return { loop_select => $results };
}
That should work.
TheStone.
B.
sub {
my $table = shift;
my $db = $DB->table($table);
$db->select_options("ORDER BY phonec_name");
my $results = $db->select()->fetchall_hashref;
return { loop_select => $results };
}
That should work.
TheStone.
B.