diff options
author | franck cuny <franck@lumberjaph.net> | 2010-05-11 12:16:57 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-05-11 12:16:57 +0200 |
commit | e05675e5c15369ad26c151de1687d1ac745098b4 (patch) | |
tree | 40732949a969342387346048955379c2016a2a92 | |
parent | rename package (diff) | |
download | moosex-net-api-e05675e5c15369ad26c151de1687d1ac745098b4.tar.gz |
fix infinite loop
-rw-r--r-- | lib/MooseX/Net/API.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MooseX/Net/API.pm b/lib/MooseX/Net/API.pm index 634416f..1587810 100644 --- a/lib/MooseX/Net/API.pm +++ b/lib/MooseX/Net/API.pm @@ -207,7 +207,7 @@ sub net_api_method { my $path = $options{path}; # replace all args in the url - while ( $path =~ /\$(\w+)/ ) { + while ( $path =~ /\$(\w+)/g ) { my $match = $1; if ( my $value = delete $args{$match} ) { $path =~ s/\$$match/$value/; |