From: Matt S Trout Date: Sun, 6 May 2012 18:48:19 +0000 (+0000) Subject: add comment to _name_coderef X-Git-Tag: v0.091003~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=67a95e30a011b5da05e7f7f936319e0a72ab16f1;p=gitmo%2FMoo.git add comment to _name_coderef --- diff --git a/lib/Moo/_Utils.pm b/lib/Moo/_Utils.pm index b45b433..34aad9a 100644 --- a/lib/Moo/_Utils.pm +++ b/lib/Moo/_Utils.pm @@ -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]; }