Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: VERSION section in POD

by choroba (Cardinal)
on May 18, 2016 at 14:16 UTC ( [id://1163341]=note: print w/replies, xml ) Need Help??


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 (Vicar) 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,

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1163341]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-20 00:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found