summary refs log tree commit diff
path: root/lib/Net/HTTP/Console/Dispatcher/Set.pm
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-06-08 18:01:03 +0200
committerfranck cuny <franck@lumberjaph.net>2010-06-08 18:01:03 +0200
commitd0958fca7e5b21131857f40c1aac60a59893ed63 (patch)
tree9d05f271ba956b366298b2739321884775130542 /lib/Net/HTTP/Console/Dispatcher/Set.pm
parentrole to log and write (diff)
downloadnet-http-console-d0958fca7e5b21131857f40c1aac60a59893ed63.tar.gz
fix loading lib; rename print to message
Diffstat (limited to 'lib/Net/HTTP/Console/Dispatcher/Set.pm')
-rw-r--r--lib/Net/HTTP/Console/Dispatcher/Set.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Net/HTTP/Console/Dispatcher/Set.pm b/lib/Net/HTTP/Console/Dispatcher/Set.pm
index d514f37..c72b09b 100644
--- a/lib/Net/HTTP/Console/Dispatcher/Set.pm
+++ b/lib/Net/HTTP/Console/Dispatcher/Set.pm
@@ -21,12 +21,12 @@ class Net::HTTP::Console::Dispatcher::Set with Net::HTTP::Console::Dispatcher {
 
     method _set_header($header, $value) {
         $self->application->set_header($header, $value);
-        $self->application->print("header $header set to $value");
+        $self->application->message("header $header set to $value");
     }
 
     method _unset_header($header) {
         $self->application->delete_header($header);
-        $self->application->print("header $header unset");
+        $self->application->message("header $header unset");
     }
 }