| MooseX-Role-WithOverloading documentation | Contained in the MooseX-Role-WithOverloading distribution. |
MooseX::Role::WithOverloading::Meta::Role::Application::FixOverloadedRefs - Fix up magic when applying roles to instances with magic on old perls
This software is copyright (c) 2011 by Florian Ragwitz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| MooseX-Role-WithOverloading documentation | Contained in the MooseX-Role-WithOverloading distribution. |
package MooseX::Role::WithOverloading::Meta::Role::Application::FixOverloadedRefs; BEGIN { $MooseX::Role::WithOverloading::Meta::Role::Application::FixOverloadedRefs::AUTHORITY = 'cpan:FLORA'; } BEGIN { $MooseX::Role::WithOverloading::Meta::Role::Application::FixOverloadedRefs::VERSION = '0.09'; } # ABSTRACT: Fix up magic when applying roles to instances with magic on old perls use Moose::Role; use namespace::autoclean; if ($] < 5.008009) { after apply => sub { reset_amagic($_[2]); }; } 1; __END__