DBIC::SQL::Abstract; # Would merge upstream, but nate doesn't reply :(
use base qw/SQL::Abstract::Limit/;
+use Carp::Clan qw/^DBIx::Class/;
sub new {
my $self = shift->SUPER::new(@_);
"{ select => [ qw/" . (join ' ', @$_fields) . "/ ], distinct => 1 }";
}
else {
- warn "This syntax will be deprecated in 09, please use " .
+ carp "This syntax will be deprecated in 09, please use " .
"{ group_by => '${_fields}' }" .
" or " .
"{ select => '${_fields}', distinct => 1 }";