bind_columns called with 2 refs when 3 needed. at /usr/local/lib/perl5/site_perl/5.8.7/mach/DBI.pm line 1794. #### my $sql = "SELECT UID, MONTHNAME(PostDate), YEAR(PostDate) FROM news ORDER BY PostDate DESC"; my $sth = $dbh->prepare($sql) || die "Error preparing: $DBI::errstr"; $sth->execute || die "Error executing: $DBI::errstr"; $rv = $sth->bind_columns($UIDholder, $indexmonths, $indexyears);