sub selectNodeWhere and sqlUpdate are both in Everything::NodeBase my $totalRows; my $type =; my $limit; my $offset; my $ref = selectNodeWhere( {type_nodetype => $type}, undef, undef, $limit, $offset, \$totalRows); sub sqlUpdate { my($this, $table, $data, $where) = @_;