X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FResultSetColumn.pm;h=4f48d330384563446542c305f61592a77ac15e93;hb=13a3e374b0dc91adc8c2a682f4a7147c56ad0828;hp=1596e53b84720f8ec24952f0e38da83297dcd2df;hpb=d8dbe471a2f98a0bc2de5e629f22ee2f2ec034ef;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/ResultSetColumn.pm b/lib/DBIx/Class/ResultSetColumn.pm index 1596e53..4f48d33 100644 --- a/lib/DBIx/Class/ResultSetColumn.pm +++ b/lib/DBIx/Class/ResultSetColumn.pm @@ -338,7 +338,7 @@ value. Produces the following SQL: sub func { my ($self,$function) = @_; my $cursor = $self->func_rs($function)->cursor; - + if( wantarray ) { return map { $_->[ 0 ] } $cursor->all; } @@ -373,9 +373,9 @@ sub func_rs { =head2 throw_exception See L for details. - + =cut - + sub throw_exception { my $self=shift; if (ref $self && $self->{_parent_resultset}) {