From c38cacf7b4b0e22eae6a74229df8cc1d46061f63 Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Thu, 8 May 2008 22:08:06 -0500 Subject: make stuff immutable --- lib/App/Hiveminder.pm | 1 + lib/App/Hiveminder/Command.pm | 1 + lib/App/Hiveminder/Command/create.pm | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/App/Hiveminder.pm b/lib/App/Hiveminder.pm index 32f41d9..801b91d 100644 --- a/lib/App/Hiveminder.pm +++ b/lib/App/Hiveminder.pm @@ -3,4 +3,5 @@ package App::Hiveminder; use Moose; extends 'MooseX::App::Cmd'; +__PACKAGE__->meta()->make_immutable(); 1; diff --git a/lib/App/Hiveminder/Command.pm b/lib/App/Hiveminder/Command.pm index 4d76dd1..a85f6d0 100644 --- a/lib/App/Hiveminder/Command.pm +++ b/lib/App/Hiveminder/Command.pm @@ -10,4 +10,5 @@ has hm => ( default => sub { Net::Hiveminder->new(use_config => 1) }, ); +__PACKAGE__->meta()->make_immutable(); 1; diff --git a/lib/App/Hiveminder/Command/create.pm b/lib/App/Hiveminder/Command/create.pm index c2ed1c7..55264e1 100644 --- a/lib/App/Hiveminder/Command/create.pm +++ b/lib/App/Hiveminder/Command/create.pm @@ -28,4 +28,5 @@ sub run { print $ret, "\n"; } +__PACKAGE__->meta()->make_immutable(); 1; -- cgit v1.2.3-54-g00ecf