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.
In reply to Re: OO method wont parse
by toolic
in thread OO method wont parse
by jorba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |