diff options
Diffstat (limited to 'usr/src/libpiny/lib/Piny/Environment.pm')
-rw-r--r-- | usr/src/libpiny/lib/Piny/Environment.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/libpiny/lib/Piny/Environment.pm b/usr/src/libpiny/lib/Piny/Environment.pm index 6cd3532..06416b8 100644 --- a/usr/src/libpiny/lib/Piny/Environment.pm +++ b/usr/src/libpiny/lib/Piny/Environment.pm @@ -1,9 +1,13 @@ # Copyright © 2010 Julian Blake Kongslie <jblake@omgwallhack.org> # Licensed under the BSD 3-clause license. +use strict; +use warnings; + package Piny::Environment; use MooseX::Singleton; +use MooseX::StrictConstructor; use Piny::User; @@ -36,6 +40,6 @@ sub _build_user { # Moose boilerplate -__PACKAGE__->meta->make_immutable; +__PACKAGE__->meta->make_immutable( inline_constructor => 0 ); 1; |