diff --git a/Changes b/Changes index d71070e..fa1e961 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ Release history for App-cpanoutdated-fresh {{$NEXT}} + [Bugfix] + - Handle module->version being undef 0.001003 2014-09-15T02:48:14Z [Bugfix] diff --git a/lib/App/cpanoutdated/fresh.pm b/lib/App/cpanoutdated/fresh.pm index 128105a..42e8a0c 100644 --- a/lib/App/cpanoutdated/fresh.pm +++ b/lib/App/cpanoutdated/fresh.pm @@ -149,7 +149,7 @@ sub _check_fresh { return { name => $module->{name}, - cpan => $v->stringify, + cpan => ( $v ? $v->stringify : q[0] ), release => $data_hash->{release}, installed => $mm->version->stringify, meta => $data_hash,