From: Peter Rabbitson Date: Sun, 17 Jan 2010 08:41:49 +0000 (+0000) Subject: No method aliasing in OO code, *ever* X-Git-Tag: v0.08116~52 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f871c7747f5564228361e3853a91ef0c79f756b6;p=dbsrgits%2FDBIx-Class.git No method aliasing in OO code, *ever* --- diff --git a/lib/DBIx/Class/ResultSourceProxy.pm b/lib/DBIx/Class/ResultSourceProxy.pm index 696c9a5..ffef623 100644 --- a/lib/DBIx/Class/ResultSourceProxy.pm +++ b/lib/DBIx/Class/ResultSourceProxy.pm @@ -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(@_);