in reply to OO method wont parse
sub Fetch { my $class = shift; my $sql = $class->{SQL}; #return $sql->fetchrow_array(); } sub RowCount { my $class = shift; my $sql = $class->{SQL}; return $sql->rows; }
My text editor with syntax highlighting clearly showed the Sub as not being a keyword.
|
|---|