X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FClassData.pm;h=f79149b063d4abcd5678460da8c0fc068c3443be;hp=cd0ad9023d2d3f4d4df2626b3ac2134957f4a81a;hb=8ad6fd584ff18d88abf31629d4593ba94eeb7647;hpb=f2dc943b9a03a6e028048aada43e9c7dae646298 diff --git a/lib/Catalyst/ClassData.pm b/lib/Catalyst/ClassData.pm index cd0ad90..f79149b 100644 --- a/lib/Catalyst/ClassData.pm +++ b/lib/Catalyst/ClassData.pm @@ -49,8 +49,7 @@ sub mk_classdata { unless $meta->isa('Class::MOP::Class'); my $was_immutable = $meta->is_immutable; - # Need to save immutable_options if they're available from Moose 0.89_02 - my %immutable_options = $meta->can('immutable_options') ? $meta->immutable_options : (); + my %immutable_options = $meta->immutable_options; $meta->make_mutable if $was_immutable; @@ -82,8 +81,12 @@ L; =head1 AUTHOR +=begin stopwords + Guillermo Roditi +=end stopwords + =head1 COPYRIGHT This library is free software. You can redistribute it and/or modify it under