diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-05-09 01:54:41 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-05-09 01:54:41 -0500 |
commit | ebe57a624672a4b9f2cdee9f7282dd67b5c97d1d (patch) | |
tree | 6a97fac123a9fe65a71c06e1878e08eaa80a7118 /lib | |
parent | 8615a4e2a61d793f5faf47f0e10def960493ee42 (diff) | |
download | app-hiveminder-ebe57a624672a4b9f2cdee9f7282dd67b5c97d1d.tar.gz app-hiveminder-ebe57a624672a4b9f2cdee9f7282dd67b5c97d1d.zip |
don't let MooseX::Getopt use our hm object as a command line option
Diffstat (limited to 'lib')
-rw-r--r-- | lib/App/Hiveminder/Command.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/App/Hiveminder/Command.pm b/lib/App/Hiveminder/Command.pm index fd58ab7..8647d35 100644 --- a/lib/App/Hiveminder/Command.pm +++ b/lib/App/Hiveminder/Command.pm @@ -4,10 +4,11 @@ use Moose; use Net::Hiveminder; extends 'MooseX::App::Cmd::Command'; -has hm => ( +has _hm => ( isa => 'Net::Hiveminder', is => 'ro', default => sub { Net::Hiveminder->new(use_config => 1) }, + reader => 'hm', ); sub run { |