diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-05-09 03:26:07 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-05-09 03:26:07 -0500 |
commit | f704d4ccaedf9573db851824020ad32067c1523a (patch) | |
tree | b79474c6a772d64ae3ea1a4454fa388696df7d88 | |
parent | 9a5ca6c33099d8f225324268558a494adc9b8127 (diff) | |
download | app-hiveminder-f704d4ccaedf9573db851824020ad32067c1523a.tar.gz app-hiveminder-f704d4ccaedf9573db851824020ad32067c1523a.zip |
don't initialize the Net::HM object until we finally use it
-rw-r--r-- | lib/App/Hiveminder/Command.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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', ); |