in reply to Re: Per-distro versioning and dependency specification (DRY)
in thread Per-distro versioning and dependency specification
I don't believe that the imported version numbers will be recognized by PAUSE.
documentation, and also this note in
=head1 TO DO
Add check that C<$VERSION> is independently evaluatable. In
particular, prohibit this:
our $VERSION = $Other::Module::VERSION;
This doesn't work because PAUSE and other tools literally copy your
version declaration out of your module and evaluates it in isolation,
at which point there's nothing in C<Other::Module>, and so the
C<$VERSION> is undefined.
This may cause problems for downstream users who specify per-module
dependencies. It's up to you whether you want to support them; some people
feel quite strongly about it, such as "Anonymous Monk" above.