Moo::Role::Lax - Loads Moo::Role without turning warnings to fatal.
version 2.00
# instead of use Moo::Role; use Moo::Role::Lax;
By default Moo::Role turns all warnings to fatal warnings. This module is exactly the same as Moo::Role, except that it doesn't turn all warnings to fatal warnings in the calling module.
With the release of Moo version 2, use Moo no longer imports strictures by default and therefore warnings are not fatalised unless an explicit use strictures is added to the code.
use Moo
use strictures
As such, this module is no longer required - simply update your dependency on Moo to version 2 and switch back to plain use Moo in your classes.
Thus, as per version 2.00, this module simply requires Moo::Role version 2.
Leon Timmermans
Damien Krotkine <dams@cpan.org>
This software is Copyright (c) 2014 by Damien Krotkine.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Moo::Lax, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Moo::Lax
CPAN shell
perl -MCPAN -e shell install Moo::Lax
For more information on module installation, please visit the detailed CPAN module installation guide.