summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-06-25 09:02:53 +0200
committerfranck cuny <franck@lumberjaph.net>2010-06-25 09:02:53 +0200
commitdf41fdbdd061a8f9c34120d1a0027c1c4ac7cc15 (patch)
treed709a95049959d461cc39be4c478496d3cf54dda
parentmerge (diff)
downloadnet-http-console-df41fdbdd061a8f9c34120d1a0027c1c4ac7cc15.tar.gz
fix
-rw-r--r--lib/Net/HTTP/Console/Dispatcher/Help.pm4
-rw-r--r--lib/Net/HTTP/Console/Role/Headers.pm2
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 => {