add comment to _name_coderef
Matt S Trout [Sun, 6 May 2012 18:48:19 +0000 (18:48 +0000)]
lib/Moo/_Utils.pm

index b45b433..34aad9a 100644 (file)
@@ -67,7 +67,7 @@ sub _install_coderef {
 }
 
 sub _name_coderef {
-  shift if @_ > 2;
+  shift if @_ > 2; # three args is (target, name, sub)
   can_haz_subname ? Sub::Name::subname(@_) : $_[1];
 }