diff options
author | Jesse Luehrs <doy@tozt.net> | 2010-05-07 13:37:20 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2010-05-07 13:37:20 -0500 |
commit | 2a261203f2a169314f88227f898e1411eee2c258 (patch) | |
tree | ba1d40459a258a3e71b4141eb19d3a361e5f22a3 | |
parent | 722d5ee9d972413e296db11fed2c9c71d307cb70 (diff) | |
download | moosex-attribute-shorthand-2a261203f2a169314f88227f898e1411eee2c258.tar.gz moosex-attribute-shorthand-2a261203f2a169314f88227f898e1411eee2c258.zip |
actually set the created meta-attr attributes
-rw-r--r-- | lib/MooseX/Attribute/Shorthand.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MooseX/Attribute/Shorthand.pm b/lib/MooseX/Attribute/Shorthand.pm index 49faa7f..12e57fa 100644 --- a/lib/MooseX/Attribute/Shorthand.pm +++ b/lib/MooseX/Attribute/Shorthand.pm @@ -55,7 +55,7 @@ sub import { } } # relies on being modified in-place - %$options = %new_options; + %$options = (%$options, %new_options); $class->$orig($name, $options); }); Moose::Util::MetaRole::apply_metaroles( |