Moo::Lax - Loads Moo without turning warnings to fatal.
version 2.00
# instead of use Moo; use Moo::Lax;
By default Moo turns all warnings to fatal warnings. Moo::Lax is exactly the same as Moo, except that it doesn't turn all warnings to fatal warnings in the calling module.
Moo::Lax
Moo
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 version 2.
Leon Timmermans
Olivier Mengué
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.