X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse.pm;h=7cd88d574d0fbfefe1dd93f971edb6c6a54a22e2;hb=refs%2Ftags%2F0.40_09;hp=4449900ef6fd1fe124b7269e061c3372c21583b8;hpb=9ee0e57c8c1ca23a9de421bf3ecf9e73ba795898;p=gitmo%2FMouse.git diff --git a/lib/Mouse.pm b/lib/Mouse.pm index 4449900..7cd88d5 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -3,7 +3,7 @@ use 5.006_002; use Mouse::Exporter; # enables strict and warnings -our $VERSION = '0.40_08'; +our $VERSION = '0.40_09'; use Carp qw(confess); use Scalar::Util qw(blessed); @@ -54,7 +54,7 @@ sub has { } } else{ # has foo => (...) - $meta->add_attribute($_ => @_); + $meta->add_attribute($name => @_); } return; } @@ -167,7 +167,7 @@ Mouse - Moose minus the antlers =head1 VERSION -This document describes Mouse version 0.40_08 +This document describes Mouse version 0.40_09 =head1 SYNOPSIS