diff options
author | franck cuny <franck@lumberjaph.net> | 2010-06-03 12:11:51 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-06-03 12:11:51 +0200 |
commit | 169f040ffd8f238a6ed6516fe540d1643a1b0406 (patch) | |
tree | 9c38920ae84aae3b007d9e316ce312fef74f168d /bin | |
parent | remove shipit (diff) | |
download | moosex-net-api-169f040ffd8f238a6ed6516fe540d1643a1b0406.tar.gz |
remove -d, add uploadtocpan
Diffstat (limited to 'bin')
-rw-r--r-- | bin/http-console | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/http-console b/bin/http-console index 1fd4fd3..25aaad8 100644 --- a/bin/http-console +++ b/bin/http-console @@ -39,7 +39,7 @@ while (defined(my $in = $term->readline($prompt))) { ($content, $result) = $http_console->anonymous; say $result->content; } - elsif ($in =~ /^(POST|PUT)\s(.*)(?:\s\-d\s(.*))$/) { + elsif ($in =~ /^(POST|PUT)\s(.*)(?:\s(.*))$/) { my $method = $1; my $path = $2; my $data = $3; |