summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-06-03 12:11:51 +0200
committerfranck cuny <franck@lumberjaph.net>2010-06-03 12:11:51 +0200
commit169f040ffd8f238a6ed6516fe540d1643a1b0406 (patch)
tree9c38920ae84aae3b007d9e316ce312fef74f168d
parentremove shipit (diff)
downloadmoosex-net-api-169f040ffd8f238a6ed6516fe540d1643a1b0406.tar.gz
remove -d, add uploadtocpan
-rw-r--r--bin/http-console2
-rw-r--r--dist.ini1
2 files changed, 2 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;
diff --git a/dist.ini b/dist.ini
index 56d80f9..2dde1b5 100644
--- a/dist.ini
+++ b/dist.ini
@@ -11,3 +11,4 @@ repository_at = github
 github_user = franckcuny
 [ReadmeFromPod]
 [CheckChangeLog]
+[UploadToCPAN]