in reply to Re^6: Why eval $version?
in thread Why eval $version?
The generally recommended practice now is to use $VERSION =~ tr/_//d; rather than $VERSION = eval $VERSION. This removes the underscores, but leaves trailing zeros intact. This also only applies if you are using numeric versions (rather than three part versions like v1.2.3) and are using underscores to denote developer releases. Using -TRIAL releases is another option that many prefer rather than using underscores.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^8: Why eval $version?
by syphilis (Archbishop) on Jul 10, 2020 at 00:42 UTC |
In Section
Seekers of Perl Wisdom