diff options
author | Yorhel <git@yorhel.nl> | 2010-12-04 20:09:28 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2010-12-04 20:09:28 +0100 |
commit | fa4de2123498d3f240d09a12811af80b8af7fa72 (patch) | |
tree | 5efce241c38a66b14c5f95d49903e74410b9793a /lib/POE | |
parent | 14f690993eb8329f496277aa49b81ddc7e4cd1ae (diff) |
API: Allow extra whitespace after "get .." command
Diffstat (limited to 'lib/POE')
-rw-r--r-- | lib/POE/Filter/VNDBAPI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/POE/Filter/VNDBAPI.pm b/lib/POE/Filter/VNDBAPI.pm index ceb9ae2d..1d99e4e1 100644 --- a/lib/POE/Filter/VNDBAPI.pm +++ b/lib/POE/Filter/VNDBAPI.pm @@ -141,7 +141,7 @@ sub get_one { else { my ($value, $rest) = split /$WS+/, $str, 2; $str = $rest; - push @ret, $value; + push @ret, $value if length $value; } } |