From: gfx Date: Sun, 13 Dec 2009 08:01:13 +0000 (+0900) Subject: Fix accessor filenames X-Git-Tag: 0.45~26 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f35b50f2b89b223295501395f16f3fd651db8cf5;p=gitmo%2FMouse.git Fix accessor filenames --- diff --git a/lib/Mouse/Meta/Method/Accessor.pm b/lib/Mouse/Meta/Method/Accessor.pm index 16ac627..46cbbc1 100755 --- a/lib/Mouse/Meta/Method/Accessor.pm +++ b/lib/Mouse/Meta/Method/Accessor.pm @@ -23,7 +23,7 @@ sub _generate_accessor_any{ my $self = '$_[0]'; my $slot = $method_class->_inline_slot($self, $name);; - my $accessor = sprintf(qq{package %s;\n#line 1 "%s for %s (%s)"\n}, $class->name, $type, $name, __FILE__) + my $accessor = sprintf(qq{package %s;\n#line 1 "%s-accessor for %s (%s)"\n}, $class->name, $type, $name, __FILE__) . "sub {\n"; if ($type eq 'rw' || $type eq 'wo') {