in reply to Re^2: My doubts about using fetchall_arrayrefin thread My doubts about using fetchall_arrayref
As there is redundant information in the sql statement and the list of columns, you could also do
my @columns = qw( id account_number date );
my $sql = "select ".join( ",", @columns).
" from my_table where id <>''
order by date desc";
my $results = $self->_all_data($sql, \@columns);
There has been an error: HTML::Template::param() : attempt to set para
+meter 'results' with a scalar - parameter is not a TMPL_VAR!<br>
Any idea why?
DejaVu Sans Mono
Droid Sans Mono
Envy Code R
Source Code Pro
The default, whatever it is
Results (373 votes). Check out past polls.