summaryrefslogtreecommitdiff
path: root/lib/Net/HTTP/Console/Dispatcher/View.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/View.pm
parentrole to log and write (diff)
downloadnet-http-console-d0958fca7e5b21131857f40c1aac60a59893ed63.tar.gz
fix loading lib; rename print to message
Diffstat (limited to '')
-rw-r--r--lib/Net/HTTP/Console/Dispatcher/View.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/HTTP/Console/Dispatcher/View.pm b/lib/Net/HTTP/Console/Dispatcher/View.pm
index 5b52fc0..bfc50f0 100644
--- a/lib/Net/HTTP/Console/Dispatcher/View.pm
+++ b/lib/Net/HTTP/Console/Dispatcher/View.pm
@@ -19,7 +19,7 @@ class Net::HTTP::Console::Dispatcher::View with Net::HTTP::Console::Dispatcher {
}
elsif ($key eq 'defined_headers') {
foreach ($self->application->all_headers) {
- $self->application->print( $_->[0] . ': ' . $_->[1]);
+ $self->application->message( $_->[0] . ': ' . $_->[1]);
}
}
}