Browse files

Fix 3part == int again by temporary parse

  • Loading branch information...
1 parent 19f0a91 commit b39c933f965cae8b973d61d5e83d580fc7ac9f31 @kentfredric kentfredric committed with Mar 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Dist/Zilla/Plugin/ReportVersions/Tiny.pm
View
2 lib/Dist/Zilla/Plugin/ReportVersions/Tiny.pm
@@ -132,7 +132,7 @@ sub generate_eval_stubs {
return join qq{\n}, map {
my $ver = $modules->{$_};
- $ver = 'any version' if $ver == 0;
+ $ver = 'any version' if version->parse($ver) == 0;
sprintf q[eval { $v .= pmver('%s','%s') };], $_, $ver ;
} sort keys %{$modules};
};

0 comments on commit b39c933

Please sign in to comment.