in reply to VERSION section in POD

I use perl-reversion for my modules. I usually just -bump the VERSION and it happens everywhere, I just have not to forget to commit the changes.

I still feel there must be a better way (see for example line 27 of Makefile.PL here, it's ugly). There's the third place where you need the version!

++Thanks for asking the question.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^2: VERSION section in POD
by polettix (Vicar) on May 18, 2016 at 14:32 UTC
    Thanks for pointing out perl-reversion, it's worth trying/considering as a substitute of my munging process.

    Re the third place, that part is actually taken care automatically by Dist::Zilla or Milla, so that is not a problem in my context. These tools are amazing at freeing my mind from most of the workflow!

    I get it that you also value a VERSION section in the POD. I wonder how useful/used it is though?

    perl -ple'$_=reverse' <<<ti.xittelop@oivalf

    Io ho capito... ma tu che hai detto?
Re^2: VERSION section in POD
by perlfan (Parson) on May 18, 2016 at 15:10 UTC
    Interesting. I couldn't help but notice that perl-reversion is not versioned in the source or POD. Maybe that is the right approach?
      It's just an example script in the Perl::Version distribution, whose main module is versioned in both the code and pod.

      ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,