MooseX::Meta::Role::Strict - Ensure we use strict role application.


MooseX-Role-Strict documentation Contained in the MooseX-Role-Strict distribution.

Index


Code Index:

NAME

Top

MooseX::Meta::Role::Strict - Ensure we use strict role application.

VERSION

Top

Version 0.05

DESCRIPTION

Top

This is the metaclass for MooseX::Role::Strict. For internal use only.

AUTHOR

Top

Curtis "Ovid" Poe, <ovid at cpan.org>

BUGS

Top

Please report any bugs or feature requests to bug-moosex-role-strict at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-Role-Strict. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc MooseX::Role::Strict

You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-Role-Strict

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/MooseX-Role-Strict

* CPAN Ratings

http://cpanratings.perl.org/d/MooseX-Role-Strict

* Search CPAN

http://search.cpan.org/dist/MooseX-Role-Strict/

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


MooseX-Role-Strict documentation Contained in the MooseX-Role-Strict distribution.

package MooseX::Meta::Role::Strict;

use Moose;
extends 'Moose::Meta::Role';

our $VERSION = 0.05;

override apply => sub {
    my ( $self, $other, @args ) = @_;

    if ( blessed($other) && $other->isa('Moose::Meta::Class') ) {
        # already loaded
        return MooseX::Meta::Role::Application::ToClass::Strict->new(@args)
          ->apply( $self, $other );
    }

    super;
};

1;

__END__