From ebe57a624672a4b9f2cdee9f7282dd67b5c97d1d Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Fri, 9 May 2008 01:54:41 -0500 Subject: don't let MooseX::Getopt use our hm object as a command line option --- lib/App/Hiveminder/Command.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3