in reply to Re: Small Doubt Regarding Select Staement in DB
in thread Small Doubt Regarding Select Staement in DB
Let the user call selectall_arrayref (or whatever):
sub dbh{ my ($self) = @_; return $self->{_dbh}; }
Accept the same parameters as selectall_arrayref:
sub select_db{ my $self = shift; return $self->{_dbh}->selectall_arrayref(@_); }
|
|---|