Can dist_version_from be evaluated at './Build dist' time?

[email protected] ((Andreas J. Koenig))
Newsgroups perl.module.build
Message-ID <[email protected]>
Is this the intended behaviour?

(1)  perl Build.PL         # contains dist_version_from => 'lib/.../Foo.pm'
                           # and VERSION is 0.0.2

(2)  ./Build dist          # builds the distro for 0.0.2

(3)  edit lib/.../Foo.pm   # development continues and Foo reaches 0.0.3

(4)  ./Build dist          # again builds the distro for 0.0.2

I would have expected that step (4) builds the distro with 0.0.3 in
the name, instead it built 0.0.2 again. I had to re-run 'perl
Build.PL'. I observed the actual behaviour with
ANDK/CPAN-Testers-ParseReport-0.0.3.tar.gz in case this matters.


-- 
andreas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.