Dan Book
and 1 contributors

NAME

Mojo::Role - Tiny and simple role system for Mojo (DEPRECATED)

DESCRIPTION

This module has been renamed to Mojo::RoleTiny and the namespace may be repurposed in the future. Instead of using it, you can now create roles using Mojo::Base directly.

  # For a role class
  use Mojo::Base -role;

  # To use/consume a role
  use Role::Tiny::With;
  with 'Role::SomeRoleClass';

AUTHOR

Daniel Vinciguerra <daniel.vinciguerra at bivee.com.br>

CONTRIBUTORS

Joel Berger (jberger)

Matt S. Trout (mst)

COPYRIGHT AND LICENSE

Copyright (C) 2016, Daniel Vinciguerra and "CONTRIBUTORS".

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

https://github.com/kraih/mojo, Mojo::Base, Role::Tiny, http://mojolicious.org.