diff options
author | franck cuny <franck@lumberjaph.net> | 2010-08-31 15:34:58 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-08-31 15:34:58 +0200 |
commit | 78f81b162940173bedb9567b61bae7f2a5cfa39f (patch) | |
tree | a4d73b6c5030dca8b9571c1c9ac964bc9d2f7e81 /lib | |
parent | empty class to extend (diff) | |
download | net-http-api-78f81b162940173bedb9567b61bae7f2a5cfa39f.tar.gz |
test wasin wrong order
Diffstat (limited to '')
-rw-r--r-- | lib/Net/HTTP/API/Meta/Method.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Net/HTTP/API/Meta/Method.pm b/lib/Net/HTTP/API/Meta/Method.pm index 2b16f8a..69298d4 100644 --- a/lib/Net/HTTP/API/Meta/Method.pm +++ b/lib/Net/HTTP/API/Meta/Method.pm @@ -197,7 +197,8 @@ sub _build_path { if (my $value = delete $args->{$match}) { $path =~ s/(?:\$|:)$match/$value/; } - if ($max_iter > $i) { + # TODO write test! + if ($max_iter < $i) { $path =~ s/\/(?:(\$|\:).*)?$//; } } |