X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FInflateColumn.pm;h=5d9c19d460240e6ed867b0f660a5c668fa885df3;hp=f5c2f8f8b326def17804cd3d960858b3da6ca170;hb=9b2c0de65a57ab32a0a18293ad49fa30f70fee31;hpb=22d9e05a39b5afbac794a5af9e83b4a38f766ac4 diff --git a/lib/DBIx/Class/InflateColumn.pm b/lib/DBIx/Class/InflateColumn.pm index f5c2f8f..5d9c19d 100644 --- a/lib/DBIx/Class/InflateColumn.pm +++ b/lib/DBIx/Class/InflateColumn.pm @@ -37,7 +37,7 @@ deal with, to allow such settings as C< \'year + 1'> and C< \'DEFAULT' > to work. If you want to filter plain scalar values and replace them with -something else, contribute a filtering component. +something else, see L. =head1 METHODS @@ -146,9 +146,9 @@ sub set_inflated_column { $self->set_column($col, $self->_deflated_column($col, $inflated)); # if (blessed $inflated) { if (ref $inflated && ref($inflated) ne 'SCALAR') { - $self->{_inflated_column}{$col} = $inflated; + $self->{_inflated_column}{$col} = $inflated; } else { - delete $self->{_inflated_column}{$col}; + delete $self->{_inflated_column}{$col}; } return $inflated; }