Make some cookbook code compile.
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / UTF8Columns.pm
index d55224b..a25ac39 100644 (file)
@@ -113,7 +113,8 @@ sub store_column {
 
 # override this if you want to force everything to be encoded/decoded
 sub _is_utf8_column {
-  return (shift->utf8_columns || {})->{shift @_};
+  # my ($self, $col) = @_;
+  return ($_[0]->utf8_columns || {})->{$_[1]};
 }
 
 =head1 AUTHORS