diff options
author | franck cuny <franck@lumberjaph.net> | 2010-06-25 09:02:53 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-06-25 09:02:53 +0200 |
commit | df41fdbdd061a8f9c34120d1a0027c1c4ac7cc15 (patch) | |
tree | d709a95049959d461cc39be4c478496d3cf54dda | |
parent | merge (diff) | |
download | net-http-console-df41fdbdd061a8f9c34120d1a0027c1c4ac7cc15.tar.gz |
fix
-rw-r--r-- | lib/Net/HTTP/Console/Dispatcher/Help.pm | 4 | ||||
-rw-r--r-- | lib/Net/HTTP/Console/Role/Headers.pm | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/Net/HTTP/Console/Dispatcher/Help.pm b/lib/Net/HTTP/Console/Dispatcher/Help.pm index 4493799..6f2c632 100644 --- a/lib/Net/HTTP/Console/Dispatcher/Help.pm +++ b/lib/Net/HTTP/Console/Dispatcher/Help.pm @@ -66,9 +66,7 @@ EOF method _help_about_load { print <<EOF load libname - load a MooseX::Net::API library - - print "available commands:\n"; - map { print "- " . $_ . "\n" } @methods; +EOF } method _get_help_for_command($cmd_name) { diff --git a/lib/Net/HTTP/Console/Role/Headers.pm b/lib/Net/HTTP/Console/Role/Headers.pm index 4d79a3b..ee964f1 100644 --- a/lib/Net/HTTP/Console/Role/Headers.pm +++ b/lib/Net/HTTP/Console/Role/Headers.pm @@ -6,7 +6,7 @@ role Net::HTTP::Console::Role::Headers { has custom_headers => ( traits => ['Hash'], - is => 'ro', + is => 'rw', isa => 'HashRef[Str]', default => sub { {} }, handles => { |