No method aliasing in OO code, *ever*
Peter Rabbitson [Sun, 17 Jan 2010 08:41:49 +0000 (08:41 +0000)]
lib/DBIx/Class/ResultSourceProxy.pm

index 696c9a5..ffef623 100644 (file)
@@ -41,7 +41,9 @@ sub add_columns {
   }
 }
 
-*add_column = \&add_columns;
+sub add_column {
+  shift->add_columns(@_);
+}
 
 sub has_column {
   shift->result_source_instance->has_column(@_);