From f704d4ccaedf9573db851824020ad32067c1523a Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Fri, 9 May 2008 03:26:07 -0500 Subject: don't initialize the Net::HM object until we finally use it --- lib/App/Hiveminder/Command.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/App/Hiveminder/Command.pm b/lib/App/Hiveminder/Command.pm index f815874..3427faf 100644 --- a/lib/App/Hiveminder/Command.pm +++ b/lib/App/Hiveminder/Command.pm @@ -8,6 +8,7 @@ has _hm => ( isa => 'Net::Hiveminder', is => 'ro', default => sub { Net::Hiveminder->new(use_config => 1) }, + lazy => 1, reader => 'hm', ); -- cgit v1.2.3