diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-06-08 13:18:38 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-06-08 13:18:38 +0200 |
| commit | 548f1a38f43a1b5da435b3a7c778f5ec3471f2f2 (patch) | |
| tree | 4b36535807ec253033bc6f4ba0f259e62c74d1f6 /lib/Net/HTTP/Console/Role/HTTP.pm | |
| parent | update name of api methods; fetch doc from method (diff) | |
| download | net-http-console-548f1a38f43a1b5da435b3a7c778f5ec3471f2f2.tar.gz | |
update regex; modify http methods; ..
Diffstat (limited to 'lib/Net/HTTP/Console/Role/HTTP.pm')
| -rw-r--r-- | lib/Net/HTTP/Console/Role/HTTP.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Net/HTTP/Console/Role/HTTP.pm b/lib/Net/HTTP/Console/Role/HTTP.pm index d0bd2c8..292de40 100644 --- a/lib/Net/HTTP/Console/Role/HTTP.pm +++ b/lib/Net/HTTP/Console/Role/HTTP.pm @@ -33,8 +33,7 @@ sub _show_last_headers { sub _set_and_show { my ($self, $content, $response) = @_; - my $json = $self->_json->pretty->encode($content); - $self->_last_http_content($json); + $self->_last_http_content($self->_json->pretty->encode($content)); $self->_last_http_response($response); $self->_show_last_content; } |
